:root {
  --font-serif: "Fraunces", serif;
  --font-sans: "Manrope", sans-serif;
  --bg-color: #f5f5f0; /* Soft Cream */
  --text-color: #1c1c1c; /* Almost Black */
  --primary: #e63946; /* Vivid Red/Terracotta */
  --secondary: #1d3557; /* Deep Blue */
  --white: #ffffff;
  --border: 1px solid rgba(28, 28, 28, 0.1);
  --border-strong: 1px solid #1c1c1c;
  --container: 1300px;
}

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

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

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

ul {
  list-style: none;
}

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

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

.section {
  padding: 100px 0;
}

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

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

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 10px;
}

.accent-text {
  color: var(--primary);
  font-style: italic;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid var(--primary);
  transition: 0.3s;
  cursor: pointer;
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
}

.btn-primary.lg {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-primary.small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
}

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

.btn-outline.lg {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-white {
  background: var(--white);
  color: var(--secondary);
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(245, 245, 240, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: var(--border);
  padding: 15px 0;
}

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

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

.logo-txt {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

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

.d-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary);
}

.d-nav a:hover {
  color: var(--primary);
}

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

.lnk-contact {
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.lnk-contact:hover {
  border-bottom-color: var(--secondary);
}

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

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

/* Mobile Nav */
.mob-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--secondary);
  color: var(--white);
  z-index: 2000;
  padding: 24px;
  transform: translateX(100%);
  transition: 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
}

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

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

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

#closeMob {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.mn-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-grow: 1;
}

.mn-links a {
  font-size: 24px;
  font-family: var(--font-serif);
}

.mn-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mn-cta {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
  text-decoration: underline;
  color: var(--primary);
}

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

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(230, 57, 70, 0.1) 0%,
    rgba(245, 245, 240, 0) 70%
  );
  z-index: 1;
}

.tag-pill {
  display: inline-block;
  background: var(--white);
  border: var(--border-strong);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  border-radius: 50px;
}

.hero-lead {
  font-size: 18px;
  color: #4a4a4a;
  margin-bottom: 40px;
  max-width: 540px;
}

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

.hero-disclaimer {
  font-size: 12px;
  opacity: 0.6;
}

.img-mask {
  position: relative;
  border-radius: 8px; /* Slightly softer */
  overflow: hidden;
  box-shadow: 20px 20px 0 var(--secondary);
}

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

.float-card span {
  display: block;
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
}

/* Marquee */
.marquee {
  background: var(--secondary);
  color: var(--white);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-code);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.track {
  display: inline-block;
  animation: marq 20s linear infinite;
}

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

/* Section Mission */
.bg-paper {
  background: #ebebe6;
}

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

.txt-block p {
  margin-bottom: 24px;
  font-size: 17px;
  color: #333;
}

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

.stat-item {
  background: var(--white);
  padding: 30px;
  text-align: center;
  border-radius: 8px;
}

.stat-item .num {
  display: block;
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--primary);
  line-height: 1;
}

.stat-item .lbl {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 10px;
  display: block;
}

/* Programs */
.sec-header {
  margin-bottom: 60px;
}

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

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

.prog-card {
  background: var(--white);
  padding: 40px 30px;
  border: var(--border);
  transition: 0.3s;
  border-radius: 8px;
}

.prog-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.pc-icon {
  color: var(--primary);
  margin-bottom: 24px;
}

.prog-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.prog-card p {
  color: #555;
  margin-bottom: 24px;
  min-height: 80px;
}

.lnk-arrow {
  font-weight: 700;
  color: var(--secondary);
  font-size: 14px;
  text-transform: uppercase;
}

/* Steps */
.bg-dark {
  background: var(--secondary);
  color: var(--white);
}

.bg-dark h2 {
  color: var(--white);
}

.steps-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.sw-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
}

.step-row:last-child {
  border: none;
  padding-bottom: 0;
}

.sr-num {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--primary);
  line-height: 1;
}

.sr-content h4 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 10px;
}

.sr-content p {
  color: #a0a0a0;
}

/* Blog Masonry */
.bg-gray {
  background: #f0f0f0;
}

.blog-masonry {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}

.blog-post {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  border: var(--border);
}

.blog-post.large {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.bp-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  display: block;
}

.blog-post h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.blog-post h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.blog-post p {
  color: #666;
  margin-bottom: 20px;
}

.btn-link {
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* Banner */
.cta-banner {
  background: var(--primary);
  border-radius: 12px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.cta-txt h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta-txt p {
  opacity: 0.9;
  font-size: 18px;
}

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

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

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

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary);
}

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

.faq-body p {
  padding-bottom: 20px;
  color: #555;
}

/* Contact */
.bg-light-blue {
  background: #e0e8f0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.cg-info h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.addr-box {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
}

.addr-box p {
  margin-bottom: 10px;
}

.cg-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

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

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

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #666;
}

.field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-sans);
  background: #fafafa;
}

.field input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.msg {
  position: absolute;
  bottom: -18px;
  left: 0;
  font-size: 11px;
  color: red;
  display: none;
}

.field.error input {
  border-color: red;
}

.field.error .msg {
  display: block;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox input {
  width: auto;
  margin-top: 5px;
}

.checkbox label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.checkbox a {
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: var(--primary);
}

/* Footer */
.footer {
  background: #111;
  color: #fff;
  padding: 80px 0 20px;
}

.f-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.f-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.f-brand {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
}

.f-brand span {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  opacity: 0.6;
}

.f-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f-nav a {
  font-size: 14px;
  opacity: 0.7;
}

.f-nav a:hover {
  opacity: 1;
  color: var(--primary);
}

.f-btm {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  opacity: 0.4;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  max-width: 320px;
  z-index: 5000;
  display: none;
}

.cookie-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.cookie-body p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

/* Mobile */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-lead {
    margin: 0 auto 40px;
  }
  .grid-50-50,
  .cards-grid,
  .steps-wrapper,
  .blog-masonry,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .d-nav,
  .h-right .lnk-contact,
  .h-right .btn-primary {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .f-top {
    flex-direction: column;
  }
  .stat-item {
    padding: 10px;
  }
}

.pages {
  padding: 120px 0;
}

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

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 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(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    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;
  }
}
