/* ===========================
   Clarity — Life Coach Template
   Uses --t-* custom properties so
   the preview switcher can override
   colours and fonts in real time.
   =========================== */

:root {
  --t-primary: #2D6A4F;
  --t-primary-dark: #1B4332;
  --t-primary-light: #52B788;
  --t-accent: #F4A261;
  --t-accent-dark: #D98A3A;
  --t-bg: #FAFAF8;
  --t-bg-alt: #F0EFEB;
  --t-text: #1A1A1A;
  --t-text-muted: #5C5C5C;
  --t-white: #FFFFFF;
  --t-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --t-radius: 10px;
  --t-radius-lg: 16px;
  --t-shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --t-shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --t-shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --t-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--t-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--t-text);
  background-color: var(--t-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; border: none; background: none; outline: none; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }


/* === CONTAINER === */
.t-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* === SHARED ELEMENTS === */
.t-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--t-primary);
  margin-bottom: 0.75rem;
}


/* === BUTTON === */
.t-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--t-font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--t-white);
  background-color: var(--t-primary);
  border-radius: var(--t-radius);
  transition: all var(--t-transition);
  gap: 0.5rem;
}

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

.t-btn--small {
  padding: 0.5rem 1.15rem;
  font-size: 0.8rem;
}

.t-btn--lg {
  padding: 0.95rem 2.25rem;
  font-size: 0.95rem;
  border-radius: var(--t-radius-lg);
}

.t-btn--ghost {
  background: transparent;
  color: var(--t-primary);
  border: 2px solid var(--t-primary);
}

.t-btn--ghost:hover {
  background-color: var(--t-primary);
  color: var(--t-white);
}

.t-btn--accent {
  background-color: var(--t-accent);
}

.t-btn--accent:hover {
  background-color: var(--t-accent-dark);
}

.t-btn--full {
  width: 100%;
}


/* =======================
   NAV
   ======================= */
.t-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-transition);
}

.t-nav.scrolled {
  border-bottom-color: rgba(0,0,0,0.06);
  box-shadow: var(--t-shadow-sm);
}

.t-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.t-nav__logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--t-primary);
  letter-spacing: -0.02em;
}

.t-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--t-text-muted);
}

.t-nav__links a:not(.t-btn):hover {
  color: var(--t-primary);
}

/* Hamburger */
.t-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.t-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--t-text);
  border-radius: 2px;
  transition: all var(--t-transition);
}

.t-nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.t-nav__hamburger.active span:nth-child(2) { opacity: 0; }
.t-nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* =======================
   HERO
   ======================= */
.t-hero {
  position: relative;
  padding: 10rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.t-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(45,106,79,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(244,162,97,0.04) 0%, transparent 60%),
    linear-gradient(180deg, var(--t-bg) 0%, var(--t-bg-alt) 100%);
  z-index: 0;
}

.t-hero__content {
  position: relative;
  z-index: 1;
}

.t-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--t-primary);
  background: rgba(45,106,79,0.06);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.t-hero__heading {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--t-text);
}

.t-hero__sub {
  font-size: 1.15rem;
  color: var(--t-text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.t-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.t-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.t-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t-text-muted);
}

.t-hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--t-primary);
  flex-shrink: 0;
}


/* =======================
   SECTIONS
   ======================= */
.t-section {
  padding: 6rem 0;
}

.t-section--alt {
  background-color: var(--t-white);
}

.t-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.t-section__heading {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.t-section__sub {
  font-size: 1.05rem;
  color: var(--t-text-muted);
  max-width: 480px;
  margin: 0 auto;
}


/* =======================
   ABOUT
   ======================= */
.t-about {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 4rem;
  align-items: center;
}

.t-about__image-wrap {
  position: relative;
}

.t-about__photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, var(--t-bg-alt) 0%, rgba(45,106,79,0.04) 100%);
  border-radius: var(--t-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--t-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.7;
}

.t-about__photo svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.t-about__accent-box {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--t-primary);
  color: var(--t-white);
  border-radius: var(--t-radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--t-shadow-lg);
}

.t-about__accent-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.t-about__accent-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.t-about__text h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.t-about__text p {
  color: var(--t-text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.t-about__credentials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.t-about__credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--t-text);
}

.t-about__credential svg {
  width: 18px;
  height: 18px;
  color: var(--t-primary);
  flex-shrink: 0;
}


/* =======================
   SERVICES
   ======================= */
.t-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.t-service-card {
  position: relative;
  background: var(--t-bg);
  border-radius: var(--t-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--t-transition);
}

.t-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--t-shadow-lg);
}

.t-service-card--featured {
  background: var(--t-primary);
  color: var(--t-white);
  border-color: transparent;
}

.t-service-card--featured:hover {
  background: var(--t-primary-dark);
}

.t-service-card__badge {
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--t-accent);
  color: var(--t-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
}

.t-service-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45,106,79,0.08);
  color: var(--t-primary);
}

.t-service-card--featured .t-service-card__icon {
  background: rgba(255,255,255,0.15);
  color: var(--t-white);
}

.t-service-card__icon svg {
  width: 26px;
  height: 26px;
}

.t-service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.t-service-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--t-text-muted);
  margin-bottom: 1.25rem;
}

.t-service-card--featured p {
  color: rgba(255,255,255,0.8);
}

.t-service-card__price {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t-primary);
  background: rgba(45,106,79,0.06);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.t-service-card--featured .t-service-card__price {
  color: var(--t-white);
  background: rgba(255,255,255,0.15);
}


/* =======================
   TESTIMONIALS
   ======================= */
.t-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.t-testimonial {
  background: var(--t-white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--t-radius-lg);
  padding: 2rem;
  transition: all var(--t-transition);
}

.t-testimonial:hover {
  box-shadow: var(--t-shadow-md);
  transform: translateY(-2px);
}

.t-testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.t-testimonial__stars svg {
  width: 16px;
  height: 16px;
  color: var(--t-accent);
}

.t-testimonial blockquote {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--t-text);
  margin-bottom: 1.25rem;
  font-style: normal;
}

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

.t-testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(45,106,79,0.08);
  color: var(--t-primary);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t-testimonial__name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.t-testimonial__role {
  display: block;
  font-size: 0.75rem;
  color: var(--t-text-muted);
}


/* =======================
   CONTACT
   ======================= */
.t-contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.t-contact__info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.t-contact__info p {
  color: var(--t-text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.t-contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.t-contact__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--t-text);
}

.t-contact__detail svg {
  width: 20px;
  height: 20px;
  color: var(--t-primary);
  flex-shrink: 0;
}

/* Form */
.t-contact__form {
  background: var(--t-bg);
  border-radius: var(--t-radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(0,0,0,0.04);
}

.t-form-group {
  margin-bottom: 1.25rem;
}

.t-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--t-text);
}

.t-form-group input,
.t-form-group textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background: var(--t-white);
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: var(--t-radius);
  transition: all var(--t-transition);
}

.t-form-group input:focus,
.t-form-group textarea:focus {
  border-color: var(--t-primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.08);
}

.t-form-group input::placeholder,
.t-form-group textarea::placeholder {
  color: #B0B0B0;
}

.t-form-group textarea {
  resize: vertical;
  min-height: 100px;
}


/* =======================
   CTA BANNER
   ======================= */
.t-cta {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--t-primary-dark) 0%, var(--t-primary) 60%, var(--t-primary-light) 100%);
  color: var(--t-white);
  position: relative;
  overflow: hidden;
}

.t-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.t-cta h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.t-cta p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
}

.t-cta .t-btn {
  position: relative;
}


/* =======================
   FOOTER
   ======================= */
.t-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

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

.t-footer__brand {
  text-align: center;
}

.t-footer__logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--t-primary);
  display: block;
  margin-bottom: 0.4rem;
}

.t-footer__brand p {
  font-size: 0.82rem;
  color: var(--t-text-muted);
  max-width: 320px;
}

.t-footer__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--t-text-muted);
}

.t-footer__links a:hover {
  color: var(--t-primary);
}

.t-footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  width: 100%;
  text-align: center;
}

.t-footer__bottom p {
  font-size: 0.78rem;
  color: var(--t-text-muted);
}


/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 900px) {
  .t-hero { padding: 8rem 0 4rem; }
  .t-hero__heading { font-size: 2.75rem; }
  .t-about { grid-template-columns: 1fr; gap: 3rem; }
  .t-about__image-wrap { max-width: 360px; margin: 0 auto; }
  .t-services { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .t-testimonials { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .t-contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .t-section { padding: 4.5rem 0; }
}

@media (max-width: 640px) {
  .t-nav__links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--t-bg);
    font-size: 1.1rem;
  }

  .t-nav__links.open {
    display: flex;
  }

  .t-nav__hamburger {
    display: flex;
  }

  .t-hero { padding: 7rem 0 3.5rem; }
  .t-hero__heading { font-size: 2rem; }
  .t-hero__sub { font-size: 1rem; }
  .t-hero__trust { flex-direction: column; gap: 0.5rem; }

  .t-about__accent-box {
    right: 0;
    bottom: -1rem;
  }

  .t-section__heading { font-size: 1.75rem; }
  .t-cta h2 { font-size: 1.75rem; }

  .t-contact__form { padding: 1.5rem; }

  .t-section { padding: 3.5rem 0; }
  .t-cta { padding: 4rem 0; }
}
