/* ==========================================================================
   The Parallax Practice - Global Styles & Design System
   Note: Developed and written with AI Assistance (Google DeepMind Antigravity)
   ========================================================================== */

:root {
  /* Brand Guidelines Color Palette */
  --color-rosey-nosey: #EAB4CC;
  --color-tiger-tabby: #E49768;
  --color-tiger-tabby-hover: #D88350;
  --color-oat-grass: #B4A25C;
  --color-captains-cat: #6392BD;
  --color-captains-cat-light: #E5EFF7;
  --color-russian-blue: #464F5D;
  --color-russian-blue-dark: #373E4A;
  --color-chantilly-blue: #212331;
  
  /* Neutrals */
  --color-white: #FFFFFF;
  --color-cream-bg: #FAF7F2;
  --color-cream-card: #FDFBF8;
  --color-text-main: #212331;
  --color-text-muted: #5C6575;
  --color-text-light: #E2E8F0;
  --color-border: rgba(33, 35, 49, 0.12);
  --color-border-subtle: rgba(255, 255, 255, 0.15);

  /* Semantic Status & Form Tokens */
  --color-error-bg: #FFF0F0;
  --color-error-border: #E57373;
  --color-error-text: #C62828;
  --color-input-bg: #FAFAFA;

  /* Card Gradient Tokens */
  --gradient-card-blue: linear-gradient(180deg, #dce8f3 0%, #edf4f9 45%, var(--color-white) 100%);
  --gradient-card-khaki: linear-gradient(180deg, #ede7d1 0%, #f6f3e8 45%, var(--color-white) 100%);
  --gradient-card-pink: linear-gradient(180deg, #fae3ee 0%, #fdf2f7 45%, var(--color-white) 100%);

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Transitions & Shadows */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(33, 35, 49, 0.05);
  --shadow-md: 0 8px 24px rgba(33, 35, 49, 0.08);
  --shadow-lg: 0 16px 36px rgba(33, 35, 49, 0.12);
  --shadow-card: 0 10px 30px -5px rgba(33, 35, 49, 0.08);
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-main);
  background-color: var(--color-cream-bg);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* ==========================================================================
   Accessibility: Skip Link
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  background: var(--color-tiger-tabby);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  transition: top var(--transition-fast);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-chantilly-blue);
  outline-offset: 2px;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ==========================================================================
   Typography Hierarchy (Brand Guidelines: Google Sans Light for Headings)
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.2;
  color: inherit;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 400;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-tiger-tabby);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(228, 151, 104, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-tiger-tabby-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(228, 151, 104, 0.45);
}

.btn-secondary {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-chantilly-blue);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-cream-card);
  border-color: var(--color-chantilly-blue);
  color: var(--color-chantilly-blue);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  background-color: var(--color-tiger-tabby);
  color: var(--color-white);
}

.btn-nav:hover {
  background-color: var(--color-tiger-tabby-hover);
}

/* ==========================================================================
   Navigation Bar (Pill Header from Mocks)
   ========================================================================== */

.site-header {
  position: absolute;
  top: 1.75rem;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 2rem;
}

.nav-pill {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 0.7rem 1.25rem 0.7rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.12);
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 38px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin-left: auto;
  margin-right: 2rem;
}

.nav-link {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  padding: 0.25rem 0;
  transition: opacity var(--transition-fast);
}

.nav-link:hover {
  opacity: 0.85;
}

.nav-link.active {
  font-weight: 500;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-white);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   Wavy Section Dividers (SVG Curves)
   ========================================================================== */

.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero-wave,
.services-hero-wave,
.contact-hero-wave,
.blog-hero-wave,
.legal-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   Shared Calendar Widget (Placeholder / Interactive)
   ========================================================================== */

.calendar-wrapper {
  background: var(--color-white);
  border-radius: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.calendar-wrapper iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: 16px;
  min-height: 600px;
}

/* Divider Line Utility */
.divider-line {
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: rgba(33, 35, 49, 0.15);
  margin: 4.5rem auto 3.5rem;
}

.consultation-section .divider-line {
  margin: 0 auto 4rem;
}

/* ==========================================================================
   Shared Consultation Section ("Ready to Move Forward?" / "Let’s Find Your Stride")
   ========================================================================== */

.consultation-section {
  padding: 5rem 0 7rem;
  background-color: var(--color-cream-bg);
  position: relative;
  z-index: 1;
}

.consultation-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem;
}

.consultation-header h2 {
  font-size: 3.25rem;
  margin-bottom: 1.25rem;
  color: var(--color-chantilly-blue);
}

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

.consultation-header p a {
  color: var(--color-captains-cat);
  text-decoration: underline;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.consultation-header p a:hover {
  color: var(--color-chantilly-blue);
}

.consultation-cta {
  margin-top: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--color-russian-blue);
  color: var(--color-white);
  padding: 4.5rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3.5rem;
}

.footer-logo {
  height: 90px;
  width: auto;
  margin-bottom: 2.5rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav-link {
  color: var(--color-white);
  font-size: 1rem;
  transition: opacity var(--transition-fast);
}

.footer-nav-link:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
}

.footer-legal-links a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 1024px) {
  h1 {
    font-size: 2.75rem;
  }
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 1rem;
    padding: 0 1rem;
  }
  
  .nav-pill {
    padding: 0.6rem 1.25rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 1rem;
    right: 1rem;
    margin: 0;
    background: rgba(33, 35, 49, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }

  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
