:root {
  --terra: #a04000; /* Terracotta */
  --terra-light: #d35400;
  --olive: #556b2f; /* Deep Olive */
  --sand: #f5f5dc; /* Beige/Cream */
  --cream: #faf9f6;
  --text: #2c2c2c;
  --text-soft: #555555;
  --white: #ffffff;
  --font-serif: "DM Serif Display", serif;
  --font-sans: "Raleway", sans-serif;
  --container: 1100px;
  --radius: 12px;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 25px;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

.italic-serif {
  font-style: italic;
  color: var(--terra);
}

.lead {
  font-size: 20px;
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}
.mb-60 {
  margin-bottom: 60px;
}

/* Buttons */
.btn-terra {
  display: inline-block;
  background-color: var(--terra);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid var(--terra);
  transition: 0.3s;
  cursor: pointer;
}

.btn-terra:hover {
  background-color: var(--terra-light);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--text);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid var(--text);
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline:hover {
  background-color: var(--text);
  color: var(--white);
}

.btn-cream {
  display: inline-block;
  background-color: var(--sand);
  color: var(--text);
  padding: 16px 36px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: 0.3s;
}

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

.link-u {
  font-weight: 700;
  text-decoration: underline;
  color: var(--terra);
}

.lg {
  padding: 16px 36px;
  font-size: 16px;
}
.sm {
  padding: 8px 16px;
  font-size: 14px;
}
.full {
  width: 100%;
  text-align: center;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.h-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--terra);
}

.desk-nav {
  display: flex;
  gap: 30px;
}

.desk-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.desk-nav a:hover {
  color: var(--terra);
}

.h-act {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lnk-text {
  font-weight: 600;
  font-size: 14px;
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--text);
}

/* Mobile Menu */
.mob-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--sand);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.mob-menu.active {
  transform: translateX(0);
}

.mm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mm-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--terra);
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

.mm-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.mm-nav a {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--text);
}

.mm-foot {
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
}

.mm-cta {
  display: block;
  font-weight: 700;
  color: var(--terra);
  text-decoration: underline;
  font-size: 18px;
  margin-bottom: 10px;
}

/* Hero */
.hero {
  padding-top: 140px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

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

.chip {
  display: inline-block;
  background: var(--sand);
  color: var(--text);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-note {
  font-size: 12px;
  color: #999;
  font-style: italic;
}

.arch-mask {
  position: relative;
  overflow: hidden;
  border-radius: 200px 200px 20px 20px;
  height: 600px;
  box-shadow: 20px 20px 0 var(--sand);
}

.arch-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-card {
  position: absolute;
  bottom: 40px;
  right: -20px;
  background: var(--white);
  padding: 20px 30px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.float-card span {
  display: block;
  font-size: 12px;
  color: var(--terra);
  margin-bottom: 5px;
}

.float-card strong {
  font-family: var(--font-serif);
  font-size: 18px;
}

/* Ticker */
.ticker-wrap {
  background: var(--terra);
  color: var(--white);
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
}

.ticker {
  display: inline-block;
  animation: tick 30s linear infinite;
}

.ticker span {
  margin: 0 30px;
}

@keyframes tick {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Features (Lifestyle) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

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

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
}

.olive {
  background: var(--olive);
}
.terra {
  background: var(--terra);
}
.sand {
  background: #d2b48c;
}

.feat-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.feat-item p {
  color: var(--text-soft);
  font-size: 15px;
}

/* Practices */
.bg-sand {
  background-color: var(--sand);
}

.split-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.split-head p {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 400px;
}

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

.p-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.3s;
}

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

.pc-img {
  height: 250px;
  overflow: hidden;
}

.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-body {
  padding: 30px;
}

.pc-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.pc-body p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.link-arr {
  font-weight: 700;
  color: var(--terra);
  text-transform: uppercase;
  font-size: 12px;
}

/* Journal */
.masonry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.m-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mt-40 {
  margin-top: 60px;
}

.blog-card {
  padding-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

.cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--olive);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.blog-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.blog-card p {
  color: var(--text-soft);
  margin-bottom: 20px;
}

.read-btn {
  font-weight: 700;
  text-decoration: underline;
  color: var(--text);
}

.highlight {
  background: var(--terra);
  padding: 40px;
  border-radius: var(--radius);
  color: var(--white);
  border: none;
}

.highlight h3,
.highlight p,
.highlight .cat {
  color: var(--white);
}

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

/* Interactive (Quiz) */
.bg-olive {
  background: var(--olive);
}
.text-white {
  color: var(--white);
}
.text-white h2,
.text-white p {
  color: var(--white);
}

.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-txt {
  max-width: 600px;
}
.cta-txt h2 {
  margin-bottom: 15px;
}

/* FAQ */
.narrow {
  max-width: 800px;
  margin: 0 auto;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.acc-row {
  border-bottom: 1px solid #ddd;
}

.acc-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}

.acc-body p {
  padding-bottom: 20px;
  color: var(--text-soft);
}

/* Form */
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.fw-head {
  margin-bottom: 40px;
}
.fw-head h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

.fw-body form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  text-align: left;
}

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

.field {
  margin-bottom: 25px;
  position: relative;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--olive);
}

.field input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #ccc;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
}

.field input:focus {
  outline: none;
  border-color: var(--terra);
}

.error-msg {
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 11px;
  color: #d35400;
  display: none;
}

.field.error input {
  border-color: #d35400;
}
.field.error .error-msg {
  display: block;
}

.check-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.check-box input {
  margin-top: 4px;
  accent-color: var(--terra);
}
.check-box label {
  font-size: 12px;
  color: var(--text-soft);
}
.check-box a {
  text-decoration: underline;
}

.full {
  width: 100%;
}

/* Footer */
.footer {
  background: #2c2c2c;
  color: #eee;
  padding: 80px 0 20px;
}

.f-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.f-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--sand);
}

.f-left p {
  color: #aaa;
  margin-bottom: 20px;
  max-width: 300px;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #ccc;
}
.contacts-list a:hover {
  color: var(--sand);
}

.f-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.f-col a {
  display: block;
  margin-bottom: 10px;
  color: #aaa;
  font-size: 14px;
}

.f-col a:hover {
  color: #fff;
}

.f-copy {
  text-align: center;
  font-size: 12px;
  color: #555;
  border-top: 1px solid #444;
  padding-top: 20px;
}

.f-right {
  display: flex;
  gap: 100px;
}

/* Cookie */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 5000;
  display: none;
}

.cp-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cp-wrap p {
  font-size: 14px;
  margin: 0;
}

/* Media */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .arch-mask {
    height: 400px;
    margin-top: 40px;
  }
  .desk-nav,
  .h-act {
    display: none;
  }
  .burger {
    display: flex;
    margin-left: auto;
  }
  .features-grid,
  .practice-cards,
  .masonry-grid,
  .cta-flex,
  .f-container {
    grid-template-columns: 1fr;
  }
  .mt-40 {
    margin-top: 0;
  }
  .cta-flex {
    text-align: center;
    gap: 30px;
  }
  .input-grid {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  .cta-flex {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .f-right {
    flex-direction: column;
    gap: 40px;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 40px;
  margin-top: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--ink);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px !important;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
