/* ============================================
   AMPtherapy - Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  --sage: #8FAF8F;
  --sage-light: #C5D9C5;
  --sage-dark: #6B8F6B;
  --cream: #FAF6F0;
  --cream-dark: #F0E8DC;
  --rose: #D4A5A5;
  --rose-light: #EDD5D5;
  --charcoal: #2C2C2C;
  --charcoal-light: #555555;
  --white: #FFFFFF;
  --border: #E5DDD5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 240, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.5px;
}

.nav-logo span {
  color: var(--sage-dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--charcoal-light);
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
}

.nav-links a.active {
  border-bottom: 2px solid var(--sage-dark);
  padding-bottom: 2px;
}

.nav-cta {
  background: var(--sage-dark) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 30px !important;
  transition: background 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--sage) !important;
  border-bottom: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 143, 107, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-rose {
  background: var(--rose);
  color: var(--white);
}

.btn-rose:hover {
  background: #C49595;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 165, 165, 0.3);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 90px 40px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 15px;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  max-width: 600px;
  margin-bottom: 50px;
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.card p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* ============================================
   QUOTE STRIP
   ============================================ */

.quote-strip {
  background: var(--sage);
  padding: 70px 40px;
  text-align: center;
}

.quote-strip blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--white);
  max-width: 750px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.quote-strip cite {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage-dark);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.checkbox-item,
.radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
}

.checkbox-item input,
.radio-item input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--sage-dark);
  flex-shrink: 0;
}

.form-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--sage-dark);
  margin: 35px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sage-light);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 60px 40px 30px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--white);
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--sage-light);
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--sage-light);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  padding: 160px 40px 90px;
  text-align: center;
}

.page-hero.sage {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
}

.page-hero.cream {
  background: var(--cream-dark);
}

.page-hero.rose {
  background: linear-gradient(135deg, var(--rose-light) 0%, var(--rose) 100%);
}

.page-hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero.cream h1 {
  color: var(--charcoal);
}

.page-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero.cream p {
  color: var(--charcoal-light);
}

/* ============================================
   NOTICE BOX
   ============================================ */

.notice-box {
  background: var(--rose-light);
  border-left: 4px solid var(--rose);
  border-radius: 12px;
  padding: 20px 25px;
  font-size: 0.9rem;
  color: var(--charcoal);
  margin: 20px 0;
}

/* ============================================
   TAGS / PILLS
   ============================================ */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  background: var(--sage-light);
  color: var(--sage-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================
   STEP CARDS
   ============================================ */

.step-number {
  width: 50px;
  height: 50px;
  background: var(--sage-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */

.success-message {
  display: none;
  background: var(--sage-light);
  border: 2px solid var(--sage-dark);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  margin-top: 20px;
}

.success-message h3 {
  color: var(--sage-dark);
  margin-bottom: 10px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 30px; }
  .section-title { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 30px 20px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  section { padding: 60px 20px; }
  .page-hero { padding: 130px 20px 70px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
