/* ==========================================================================
   The Parallax Practice - Home Page Styles
   ========================================================================== */

/* --- Home Hero --- */
.home-hero {
  position: relative;
  background-color: var(--color-oat-grass);
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(200, 185, 120, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, rgba(110, 105, 55, 0.75) 0%, rgba(130, 123, 65, 0.65) 60%, rgba(100, 95, 50, 0.85) 100%);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  padding: 10rem 2rem 7rem;
  overflow: hidden;
}

.home-hero .hero-content {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.home-hero h1 {
  font-size: 3.75rem;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.home-hero p {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
/* --- Intro Section ("Hey, there!") --- */
.intro-section {
  padding: 6rem 0 5rem;
  background-color: var(--color-cream-bg);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.intro-text h2 {
  font-size: 3.25rem;
  color: var(--color-chantilly-blue);
  margin-bottom: 1.75rem;
}

.intro-text p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.intro-image-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.intro-portrait {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  object-fit: cover;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* --- Seal Divider --- */
.seal-badge-container {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  line-height: 0;
  pointer-events: none;
}

.seal-badge-img {
  width: 155px;
  height: 155px;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.25));
}

/* --- Together Section (Dark Navy) --- */
.together-section {
  background-color: var(--color-chantilly-blue);
  color: var(--color-white);
  padding: 8.5rem 0 10.5rem;
  position: relative;
  z-index: 2;
}

.together-section .container {
  position: relative;
  z-index: 3;
}

.together-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

.together-wave-top svg {
  display: block;
  width: 100%;
  height: 80px;
}

.together-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
}

.together-wave-bottom svg {
  display: block;
  width: 100%;
  height: 120px;
}

.together-header {
  text-align: left;
  max-width: 820px;
  margin: 0 0 4.5rem 0;
}

.together-header h2 {
  font-size: 3.25rem;
  margin-bottom: 1.25rem;
}

.together-header p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.together-header p strong {
  color: var(--color-white);
  font-weight: 600;
}

.curved-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.curved-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 22' preserveAspectRatio='none'%3E%3Cpath d='M2,17 Q50,4 98,15' fill='none' stroke='%23E49768' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.75rem;
  margin-top: 3.5rem;
  margin-bottom: 4.5rem;
  padding-top: 1rem;
}

.service-card {
  background: linear-gradient(180deg, rgba(228, 151, 104, 0.35) 0%, rgba(135, 95, 75, 0.22) 55%, rgba(33, 35, 49, 0.5) 100%);
  border: none;
  border-radius: 18px;
  padding: 3rem 1.5rem 2.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, box-shadow;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px) translateZ(0);
  -webkit-transform: translateY(-6px) translateZ(0);
  background: linear-gradient(180deg, rgba(228, 151, 104, 0.45) 0%, rgba(145, 100, 80, 0.28) 55%, rgba(33, 35, 49, 0.4) 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.service-icon-wrap {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-tiger-tabby);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.service-icon-wrap img,
.service-icon-wrap svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 0.25rem;
  margin-bottom: 0.9rem;
  color: var(--color-white);
}

.service-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.together-cta {
  text-align: center;
  position: relative;
  z-index: 5;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-hero h1 {
    font-size: 2.5rem;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .intro-text h2, .together-header h2, .consultation-header h2 {
    font-size: 2.25rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
