/* =============================================
   Carina Coach — Brand Styles
   Primary gradient: #7D55BC → #657EBE
   ============================================= */

:root {
  --purple: #7D55BC;
  --blue: #657EBE;
  --gradient: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(125, 85, 188, 0.08) 0%, rgba(101, 126, 190, 0.08) 100%);
  --gradient-hover: linear-gradient(135deg, #6e48a8 0%, #5670ad 100%);

  --white: #ffffff;
  --cream: #fdfbfa;
  --blush: #f9f5f8;
  --lavender-light: #f3eef8;
  --text: #3d3548;
  --text-light: #6b6278;
  --text-muted: #9a92a8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --shadow-sm: 0 2px 12px rgba(125, 85, 188, 0.08);
  --shadow-md: 0 8px 32px rgba(125, 85, 188, 0.12);
  --shadow-lg: 0 16px 48px rgba(125, 85, 188, 0.15);

  --radius: 16px;
  --radius-lg: 24px;
  --header-height: 80px;
  --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--blue);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--gradient-hover);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--purple);
  border-color: rgba(125, 85, 188, 0.35);
}

.btn--ghost:hover {
  background: var(--gradient-soft);
  border-color: var(--purple);
  color: var(--purple);
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* Section shared */
.section {
  padding: 6rem 0;
}

.section__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.section__eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section__title--light {
  color: var(--white);
}

.section__header {
  margin-bottom: 3.5rem;
}

.section__header--center {
  text-align: center;
}

.section__intro {
  max-width: 640px;
  margin: 1.5rem auto 0;
  color: var(--text-light);
  font-size: 1.1rem;
}

.section__divider {
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.section__divider--left {
  margin-left: 0;
}

.section__divider--center {
  margin-left: auto;
  margin-right: auto;
}

.section__divider--light {
  background: rgba(255, 255, 255, 0.6);
}

/* Image Placeholders */
.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-soft);
  border: 2px dashed rgba(125, 85, 188, 0.3);
  border-radius: var(--radius-lg);
  color: var(--purple);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.image-placeholder::before {
  content: attr(data-label);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.4rem 0.75rem;
  background: rgba(125, 85, 188, 0.12);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--purple);
}

.image-placeholder__icon {
  width: 48px;
  height: 48px;
  opacity: 0.45;
  margin-top: 1.5rem;
}

.image-placeholder__text {
  font-weight: 600;
  font-size: 0.95rem;
}

.image-placeholder__hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.image-placeholder--hero {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 420px;
}

.image-placeholder--portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.image-placeholder--landscape {
  width: 100%;
  aspect-ratio: 7 / 5;
}

.image-placeholder--card {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  min-height: 200px;
}

.image-placeholder--card::before {
  display: none;
}

.image-placeholder--card .image-placeholder__icon {
  margin-top: 0;
}

/* To replace a placeholder with a real image, swap the div for:
   <img src="images/your-photo.jpg" alt="Description" class="photo photo--hero">
   and add object-fit: cover styles via .photo classes below */

.photo {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.photo--hero {
  aspect-ratio: 4 / 5;
  max-width: 420px;
}

.photo--portrait {
  aspect-ratio: 4 / 5;
}

.photo--landscape {
  aspect-ratio: 7 / 5;
}

.photo--card {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* =============================================
   Header / Navigation
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(125, 85, 188, 0.08);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.nav__logo-text {
  height: 32px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav__link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 50px;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--purple);
  background: var(--gradient-soft);
}

.nav__link--cta {
  background: var(--gradient);
  color: var(--white) !important;
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
}

.nav__link--cta:hover {
  background: var(--gradient-hover);
  color: var(--white) !important;
  box-shadow: var(--shadow-sm);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(125, 85, 188, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(101, 126, 190, 0.08) 0%, transparent 50%),
    var(--cream);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 1.5rem;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: italic;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__badge {
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--purple);
}

.hero__badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll a {
  display: flex;
  color: var(--purple);
  opacity: 0.5;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 28px;
  height: 28px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* =============================================
   Story
   ============================================= */
.section--story {
  background: var(--white);
}

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

.story__content p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.motto {
  margin: 2rem 0;
  padding: 1.75rem 2rem;
  background: var(--gradient-soft);
  border-left: 4px solid;
  border-image: var(--gradient) 1;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--purple);
}

.motto__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

/* =============================================
   About
   ============================================= */
.section--about {
  background: var(--blush);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.about__content p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.about__intro {
  margin-top: 1.5rem !important;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--text) !important;
  font-size: 1.05rem;
}

.about__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  box-shadow: var(--shadow-sm);
}

.credential__icon {
  font-size: 0.7rem;
}

/* =============================================
   Mission
   ============================================= */
.section--mission {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.mission__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  z-index: 0;
}

.mission__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

.mission__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.mission__icon {
  margin-bottom: 1.5rem;
}

.mission__phoenix {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.mission__text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

.mission__phoenix-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* =============================================
   Approach
   ============================================= */
.section--approach {
  background: var(--white);
}

.approach__cards {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.approach-card {
  padding: 2.5rem 2rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.approach-card--featured {
  padding: 0;
  background: transparent;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.approach-card--featured:hover {
  transform: none;
}

.approach-card__icon svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
}

.approach-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--purple);
}

.approach-card__text {
  color: var(--text-light);
  font-size: 0.95rem;
}

.approach-card__visual {
  height: 100%;
  min-height: 280px;
}

.approach-card__visual .photo {
  box-shadow: none;
}

.approach-card__visual .image-placeholder {
  height: 100%;
  border-radius: var(--radius-lg);
  border-style: solid;
  border-color: rgba(125, 85, 188, 0.15);
}

.approach__promise {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
}

.approach__promise p {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.approach__support {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--purple) !important;
  margin-bottom: 0 !important;
}

/* =============================================
   Contact
   ============================================= */
.section--contact {
  background: var(--lavender-light);
  padding-bottom: 7rem;
}

.contact__card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.contact__text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact__benefits {
  list-style: none;
  margin-bottom: 2rem;
}

.contact__benefits li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.contact__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__logo {
  height: 36px;
  width: auto;
  margin: 0 auto 0.5rem;
  opacity: 0.95;
}

.footer__tagline {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__credit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer__credit a:hover {
  color: var(--white);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 992px) {
  .hero__inner,
  .story__grid,
  .about__grid,
  .contact__card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__visual {
    order: -1;
  }

  .hero__badge {
    left: auto;
    right: 0;
  }

  .approach__cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .approach-card--featured {
    order: -1;
  }

  .about__visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .contact__card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    gap: 0.25rem;
  }

  .nav__menu.active {
    right: 0;
  }

  .nav__link {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav__logo-text {
    height: 26px;
  }

  .hero__scroll {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .motto {
    font-size: 1.4rem;
    padding: 1.25rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav__logo-icon {
    width: 36px;
    height: 36px;
  }

  .hero__badge {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 1rem;
    align-self: flex-start;
  }

  .hero__visual {
    flex-direction: column;
    align-items: center;
  }
}
