/* ============================================
   HOMEPAGE STYLES — coaching.robromano.com
   ============================================ */

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroScale 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes heroScale {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hero-gradient {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 128px 16px;
  width: 100%;
}
@media (min-width: 640px) {
  .hero-content { padding: 128px 24px; }
}
.hero-content-inner {
  max-width: 672px;
  background: radial-gradient(ellipse 120% 100% at 0% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
  padding: 32px 40px;
  border-radius: 16px;
  margin-left: -40px;
}

/* Hero word-by-word reveal */
.hero-word {
  display: inline-block;
  margin-right: 0.3em;
  opacity: 0;
  transform: translateY(30px);
  animation: wordReveal 0.5s ease-out forwards;
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #F7F5EF;
  line-height: 1.15;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .hero-title { font-size: 48px; }
}
@media (min-width: 768px) {
  .hero-title { font-size: 60px; }
}
.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0px 4px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  animation: wordReveal 0.6s ease-out 0.8s forwards;
}
.hero-cta-wrap {
  opacity: 0;
  transform: translateY(20px);
  animation: wordReveal 0.6s ease-out 1s forwards;
}


/* --- Convergence Story Teaser --- */
.convergence-section {
  padding: 96px 0;
  background: #F7F5EF;
}
.convergence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 1024px) {
  .convergence-grid { grid-template-columns: 1fr 1fr; }
}
.convergence-text .section-label {
  margin-bottom: 16px;
}
.convergence-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: #1B3326;
  line-height: 1.2;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .convergence-title { font-size: 36px; }
}
@media (min-width: 768px) {
  .convergence-title { font-size: 42px; }
}
.convergence-body {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: rgba(27, 51, 38, 0.7);
  line-height: 1.7;
  margin-bottom: 16px;
}
.convergence-muted {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: #1B3326;
  line-height: 1.5;
  margin-bottom: 32px;
}


/* --- Convergence SVG --- */
.convergence-svg {
  max-width: 448px;
  margin: 0 auto;
}
.convergence-svg svg {
  width: 100%;
  height: auto;
}
.svg-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  stroke-opacity: 0.3;
  transition: stroke-dashoffset 2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              stroke-opacity 1.5s ease;
}
.svg-path.drawn {
  stroke-dashoffset: 0;
  stroke-opacity: 1;
}
.svg-path-coaching {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  stroke-opacity: 0.3;
  transition: stroke-dashoffset 2s 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              stroke-opacity 1.5s 0.9s ease;
}
.svg-path-coaching.drawn {
  stroke-dashoffset: 0;
  stroke-opacity: 1;
}
.svg-dot {
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s 1.2s ease, opacity 0.3s 1.2s ease;
  transform-origin: center;
}
.svg-dot.drawn {
  transform: scale(1);
  opacity: 1;
  animation: dotPulse 2.5s ease-in-out 2s infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
/* Outer glow ring behind the dot */
.svg-dot-glow {
  transform: scale(0);
  opacity: 0;
  transition: transform 0.6s 1.3s ease, opacity 0.4s 1.3s ease;
  transform-origin: center;
}
.svg-dot-glow.drawn {
  transform: scale(1);
  opacity: 1;
  animation: glowPulse 2.5s ease-in-out 2s infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(2); opacity: 0; }
}
.coaching-letter {
  transition: opacity 0.3s ease;
}
.coaching-letter.visible {
  opacity: 1;
}


/* --- Client Fit --- */
.client-fit-section {
  padding: 96px 0;
  background: rgba(27, 51, 38, 0.03);
}
.client-fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .client-fit-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .client-fit-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.client-icon {
  width: 32px;
  height: 32px;
  color: #2B6B4F;
  margin-bottom: 16px;
}
.client-card-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(27, 51, 38, 0.8);
  line-height: 1.7;
}
.client-fit-summary {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1B3326;
  line-height: 1.7;
  text-align: center;
  max-width: 672px;
  margin: 32px auto 0;
}


/* --- Pathway --- */
.pathway-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.pathway-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pathway-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pathway-bg-overlay {
  display: none;
}
.pathway-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .pathway-content { padding: 0 24px; }
}
.pathway-inner {
  max-width: 576px;
  background: radial-gradient(ellipse 120% 100% at 0% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
  padding: 32px 40px;
  border-radius: 16px;
  margin-left: -40px;
}
.pathway-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .pathway-title { font-size: 36px; }
}
@media (min-width: 768px) {
  .pathway-title { font-size: 42px; }
}
.pathway-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.7;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0px 4px rgba(0, 0, 0, 0.4);
}
.pathway-body {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.7;
  margin-bottom: 32px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0px 4px rgba(0, 0, 0, 0.4);
}


/* --- Testimonials --- */
.testimonials-section {
  padding: 96px 0;
  background: #F7F5EF;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 896px;
  margin: 48px auto 0;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
.testimonial-card {
  position: relative;
}
.testimonial-card .quote-icon {
  width: 32px;
  height: 32px;
  color: rgba(212, 168, 83, 0.3);
  position: absolute;
  top: 16px;
  right: 16px;
}
.testimonial-quote {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(27, 51, 38, 0.8);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}
.testimonial-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #2B6B4F;
  font-weight: 500;
}


/* --- Final CTA --- */
.final-cta-section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.final-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 51, 38, 0.55);
}
.final-cta-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .final-cta-content { padding: 0 24px; }
}
.final-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: #F7F5EF;
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .final-cta-title { font-size: 36px; }
}
@media (min-width: 768px) {
  .final-cta-title { font-size: 42px; }
}
.final-cta-body {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #FFFFFF;
  line-height: 1.7;
  max-width: 576px;
  margin: 0 auto 32px;
}


/* --- Reduced Motion Overrides --- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; transform: scale(1); }
  .hero-word { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-desc, .hero-cta-wrap { opacity: 1 !important; transform: none !important; animation: none !important; }
  .svg-path, .svg-path-coaching { stroke-dashoffset: 0 !important; transition: none !important; }
  .svg-dot { transform: scale(1) !important; opacity: 1 !important; transition: none !important; }
}
