/* ===== Atum Therapy — Modern Styles ===== */

:root {
  --color-primary: #3d7a5c;
  --color-primary-dark: #2c5e43;
  --color-primary-light: #5a9478;
  --color-accent: #c4923a;
  --color-accent-dark: #a87830;
  --color-heading: #0e1a13;
  --color-text: #334a3e;
  --color-muted: #637a6e;
  --color-bg-warm: #faf7f2;
  --color-bg-light: #edf4ef;
  --color-bg-sage: #dfeae3;
  --color-white: #ffffff;
  --color-border: #c8ddd3;
  --color-dark: #182a20;
  --max-width: 1200px;
  --radius: 12px;
  --radius-sm: 7px;
  --shadow-sm: 0 1px 6px rgba(14,26,19,0.06);
  --shadow: 0 4px 20px rgba(14,26,19,0.09);
  --shadow-hover: 0 14px 44px rgba(14,26,19,0.16);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
}

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

html { font-size: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-white);
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

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

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }
ul, ol { margin: 0 0 1em 1.5em; }
li { margin-bottom: 0.4em; }

/* ===== LAYOUT ===== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ===== HEADER / NAV ===== */

.site-header {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(200,221,211,0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo img { height: 96px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.03em;
  min-height: 48px;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.45s ease;
  pointer-events: none;
}
.btn:hover::after { left: 160%; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(61,122,92,0.32);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1f4530 100%);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(61,122,92,0.42);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(61,122,92,0.28);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(196,146,58,0.32);
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, #8c6420 100%);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(196,146,58,0.42);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== HERO ===== */

.hero {
  background:
    radial-gradient(ellipse at 15% 60%, rgba(61,122,92,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(196,146,58,0.09) 0%, transparent 50%),
    linear-gradient(170deg, #eaf3ee 0%, #f5f9f6 40%, #faf7f2 100%);
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(61,122,92,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--color-heading);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Gradient text for hero h1 */
.hero h1 span {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 2.75rem;
  font-size: 1.15rem;
  color: var(--color-muted);
  line-height: 1.75;
}

.hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(61,122,92,0.15);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-stat + .hero-stat {
  border-left: 1px solid rgba(61,122,92,0.15);
}

.hero-stat strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-stat span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 500;
}

/* ===== TWO-COLUMN GRID ===== */

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

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.45s ease;
}

.two-col img:hover {
  transform: scale(1.025);
  box-shadow: 0 20px 56px rgba(14,26,19,0.2);
}

.tools-list {
    columns: 2;
    gap: 3rem;
}

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

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.75rem 1.875rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

/* Animated top accent line */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(61,122,92,0.3);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  transition: background var(--transition);
}

.card:hover .card-icon { background: var(--color-bg-sage); }

.card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.card p { font-size: 0.95rem; color: var(--color-text); }

/* ===== SECTION VARIANTS ===== */

.section-alt { background: var(--color-bg-warm); }
.section-sage { background: var(--color-bg-light); }

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3rem;
}

.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 0; line-height: 1.75; }

.section-header::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  margin: 1.25rem auto 0;
  transition: width var(--transition);
}

/* ===== TESTIMONIALS ===== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

/* Top gradient border */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* Large quote mark */
.testimonial-card::after {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.08;
  pointer-events: none;
}

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

.testimonial-stars {
  color: var(--color-accent);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--color-text);
  flex: 1;
  margin-bottom: 1.25rem;
}

.testimonial-name {
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-primary-dark);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  letter-spacing: 0.03em;
}

/* ===== VIDEO GRID ===== */

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ===== VIDEO EMBED ===== */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  transition: box-shadow var(--transition), transform var(--transition);
}

.video-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(14,26,19,0.18);
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ===== EXPERIENCE SLIDESHOW ===== */

.experience-slideshow {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  border-radius: 24px;
}

.experience-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.experience-slideshow img.active {
  opacity: 1;
}

/* ===== PRICING ===== */

.pricing-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.25rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.pricing-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.pricing-box p { margin: 0; font-size: 1.05rem; }

/* ===== BANNER IMAGE ===== */

.page-banner {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

/* ===== CONTACT FORM ===== */

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

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

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg-warm);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(61,122,92,0.1);
}

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

.required-star { color: #c07050; margin-left: 3px; }

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

.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.55);
  padding: 2.25rem 0;
  font-size: 0.9rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.site-footer p { margin: 0; }
.site-footer a { color: rgba(255,255,255,0.75); transition: color var(--transition); }
.site-footer a:hover { color: var(--color-white); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ===== THANK YOU MODAL ===== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 26, 19, 0.55);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-hover);
  position: relative;
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.modal-box h3 { margin-bottom: 0.75rem; }
.modal-box p { color: var(--color-muted); margin-bottom: 1.5rem; }

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted);
  padding: 0.5rem;
}
.modal-close:hover { color: var(--color-heading); }

/* ===== STICKY FLOATING CTA ===== */

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  padding: 13px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 6px 22px rgba(196,146,58,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sticky-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.sticky-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(196,146,58,0.55);
  color: var(--color-white);
}

.sticky-cta:hover::after { left: 160%; }

/* ===== UTILITIES ===== */

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

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

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 0.5rem 1.5rem 1.5rem;
    gap: 0;
    box-shadow: 0 10px 30px rgba(14,26,19,0.12);
  }

  .nav-links.open { display: flex; }

  .nav-links li { border-bottom: 1px solid rgba(200,221,211,0.5); }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }
  .nav-links a::after { display: none; }

  .two-col,
  .form-row { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .testimonials-grid,
  .video-grid { grid-template-columns: 1fr; }

  section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3.5rem; }

  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 1rem; }
  .hero-stat strong { font-size: 1.5rem; }

  .sticky-cta { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; }
  .tools-list { 
    columns: 1;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .btn-group { flex-direction: column; align-items: center; }
  .contact-form { padding: 1.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .hero-stat + .hero-stat { border-left: none; }
}
