/* =========================================
   VARIABLES & GLOBALS
   ========================================= */
:root {
  /* French Elegance & EdTech Palette */
  --clr-navy: #1a2a3a; /* Deep French Navy */
  --clr-navy-light: #2c3e50;
  --clr-coral: #ff6b6b; /* Vibrant Coral/Red */
  --clr-coral-hover: #e55050;
  --clr-cream: #f4ebd0; /* Soft Cream / Vintage Paper */
  --clr-white: #ffffff;
  --clr-dark: #121212;
  --clr-gray: #7f8c8d; /* Slate Gray */

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;

  /* Metrics & Transitions */
  --trans: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --rad-sm: 6px;
  --rad-md: 12px;
  --rad-lg: 24px;

  --shadow-soft: 0 4px 15px rgba(26, 42, 58, 0.05);
  --shadow-heavy: 0 20px 40px rgba(26, 42, 58, 0.15);
}

/* Base Reset strictly avoiding horizontal scroll bugs */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--clr-dark);
  background-color: var(--clr-white);
  line-height: 1.6;
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Utilities */
.bg-cream {
  background-color: var(--clr-cream);
}
.bg-white {
  background-color: var(--clr-white);
}
.bg-navy {
  background-color: var(--clr-navy);
}
.bg-navy-light {
  background-color: var(--clr-navy-light);
}
.bg-coral {
  background-color: var(--clr-coral);
}
.bg-dark {
  background-color: var(--clr-dark);
}

.text-white {
  color: var(--clr-white) !important;
}
.text-cream {
  color: var(--clr-cream) !important;
}
.text-navy {
  color: var(--clr-navy) !important;
}
.text-coral {
  color: var(--clr-coral) !important;
}
.text-dark {
  color: var(--clr-dark) !important;
}
.text-gray {
  color: var(--clr-gray) !important;
}

.border-navy {
  border: 1px solid rgba(26, 42, 58, 0.2);
}
.border-navy-light {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.border-coral {
  border: 1px solid var(--clr-coral);
}

.text-center {
  text-align: center;
}
.w-full {
  width: 100%;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.max-w-800 {
  max-width: 800px;
}
.max-w-300 {
  max-width: 300px;
}

.mt-medium {
  margin-top: 24px;
}
.mt-large {
  margin-top: 48px;
}
.mt-auto {
  margin-top: auto;
}
.mb-medium {
  margin-bottom: 24px;
}
.mb-large {
  margin-bottom: 40px;
}
.p-large {
  padding: 56px;
}
@media (max-width: 768px) {
  .p-large {
    padding: 32px 24px;
  }
}

.font-bold {
  font-weight: 700;
}
.text-small {
  font-size: 0.9rem;
}
.inline-flex {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.opacity-80 {
  opacity: 0.8;
}
.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-col {
  flex-direction: column;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}
.shadow-heavy {
  box-shadow: var(--shadow-heavy);
}
.rad-lg {
  border-radius: var(--rad-lg);
}

.link-coral {
  color: var(--clr-coral);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
}
.link-coral:hover {
  color: var(--clr-navy);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--clr-navy);
  line-height: 1.15;
  margin: 0 0 24px 0;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hb-heading {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}
.hb-heading span {
  color: var(--clr-coral);
  font-style: italic;
}
.section-head {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}
.section-sub {
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 400;
  margin-top: -16px;
  margin-bottom: 48px;
}
h3 {
  font-size: 1.6rem;
}

p {
  font-size: 1.1rem;
  margin: 0 0 20px 0;
  font-weight: 400;
}
.hb-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}
.section-desc {
  font-size: 1.2rem;
  opacity: 0.9;
}

.coral-divider {
  width: 70px;
  height: 3px;
  background-color: var(--clr-coral);
  margin-bottom: 24px;
}
.cream-divider {
  width: 70px;
  height: 3px;
  background-color: var(--clr-cream);
  margin-bottom: 24px;
}
.center-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

/* Buttons */
.btn-coral,
.btn-navy,
.btn-outline-cream {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: var(--rad-sm);
  cursor: pointer;
  transition: var(--trans);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-coral {
  background-color: var(--clr-coral);
  color: var(--clr-white);
  padding: 16px 36px;
  font-size: 1rem;
  box-shadow: 0 6px 15px rgba(255, 107, 107, 0.3);
}
.btn-coral:hover {
  background-color: var(--clr-coral-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
}

.btn-navy {
  background-color: var(--clr-navy);
  color: var(--clr-cream);
  padding: 16px 36px;
  font-size: 1rem;
  box-shadow: 0 6px 15px rgba(26, 42, 58, 0.3);
}
.btn-navy:hover {
  background-color: var(--clr-navy-light);
  color: var(--clr-white);
  transform: translateY(-3px);
}

.btn-outline-cream {
  background-color: transparent;
  border-color: var(--clr-cream);
  color: var(--clr-cream);
  padding: 14px 34px;
  font-size: 1rem;
}
.btn-outline-cream:hover {
  background-color: var(--clr-cream);
  color: var(--clr-navy);
}

/* Header & Menu Trigger */
.fr-edu-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(244, 235, 208, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--trans);
}
.fr-edu-header.scrolled {
  box-shadow: var(--shadow-soft);
  border-bottom-color: rgba(26, 42, 58, 0.1);
  padding: 5px 0;
}

.head-layout {
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--trans);
}
.fr-edu-header.scrolled .head-layout {
  height: 75px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1100;
  position: relative;
}
.brand-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--clr-navy);
  letter-spacing: 0.5px;
}

.menu-trigger {
  display: flex;
  width: 48px;
  height: 48px;
  background: var(--clr-white);
  border: 1px solid var(--clr-navy);
  border-radius: var(--rad-sm);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
  box-shadow: var(--shadow-soft);
  transition: var(--trans);
}
.menu-trigger:hover {
  background: var(--clr-navy);
}
.menu-trigger:hover .t-line {
  background-color: var(--clr-white);
}
.t-line {
  width: 24px;
  height: 2px;
  background-color: var(--clr-navy);
  border-radius: 2px;
  transition: var(--trans);
}

/* Side Navigation */
.side-navigation {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  background: var(--clr-cream);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -15px 0 50px rgba(26, 42, 58, 0.2);
  overflow-y: auto;
}
@media (max-width: 1024px) {
  .side-navigation {
    width: 100vw;
  }
}
@media (min-width: 1025px) {
  .side-navigation {
    width: 420px;
    border-left: 2px solid var(--clr-coral);
  }
}

.side-navigation.open {
  transform: translateX(0);
}

.sn-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(26, 42, 58, 0.1);
}
@media (max-width: 576px) {
  .sn-top {
    padding: 20px 24px;
  }
}
.close-menu {
  width: 48px;
  height: 48px;
  background: var(--clr-white);
  border: 1px solid var(--clr-navy);
  border-radius: var(--rad-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--clr-navy);
  transition: var(--trans);
}
.close-menu:hover {
  background: var(--clr-coral);
  border-color: var(--clr-coral);
  color: var(--clr-white);
  transform: rotate(90deg);
}

.sn-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  padding: 60px 40px;
}
@media (max-width: 576px) {
  .sn-links {
    padding: 40px 24px;
  }
}
.sn-item {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--clr-navy);
  transition: var(--trans);
  width: 100%;
}
.sn-item:hover {
  color: var(--clr-coral);
  transform: translateX(8px);
}
.highlight-coral {
  color: var(--clr-coral);
  text-decoration: underline;
  text-underline-offset: 6px;
  margin-top: 16px;
}
.highlight-coral:hover {
  color: var(--clr-navy);
}

.sn-bottom {
  padding: 32px 40px;
  border-top: 1px solid rgba(26, 42, 58, 0.1);
}
@media (max-width: 576px) {
  .sn-bottom {
    padding: 32px 24px;
  }
}
.sn-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--clr-navy);
  font-size: 1rem;
}
.sn-contact i {
  color: var(--clr-coral);
  width: 20px;
  height: 20px;
}

/* Global Section Layout */
.info-block {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .info-block {
    padding: 80px 0;
  }
}

.grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.align-center {
  align-items: center;
}
.reverse-mobile .text-frame {
  order: 2;
}
.reverse-mobile .visual-frame {
  order: 1;
}
@media (max-width: 991px) {
  .grid-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .reverse-mobile .text-frame {
    order: 1;
  }
  .reverse-mobile .visual-frame {
    order: 2;
  }
}

/* Hero */
.hero-block {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}
.hb-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hb-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(20%);
}
.hb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 42, 58, 0.95) 0%,
    rgba(26, 42, 58, 0.8) 50%,
    rgba(26, 42, 58, 0.3) 100%
  );
}
@media (max-width: 991px) {
  .hb-overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 42, 58, 0.9) 0%,
      rgba(26, 42, 58, 0.8) 60%,
      rgba(26, 42, 58, 0.5) 100%
    );
  }
}

.hb-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}
@media (max-width: 991px) {
  .hb-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hb-text {
    margin-left: auto;
    margin-right: auto;
  }
  .hb-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.hb-content h1,
.hb-content p {
  color: var(--clr-white);
}
.hb-label {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--clr-coral);
  color: var(--clr-coral);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: var(--rad-sm);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hb-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}

/* Concept */
.img-frame {
  position: relative;
  padding-top: 20px;
  padding-left: 20px;
}
.img-frame img {
  position: relative;
  z-index: 2;
  border-radius: var(--rad-md);
  box-shadow: var(--shadow-heavy);
}
.frame-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid var(--clr-coral);
  z-index: 1;
  border-radius: var(--rad-md);
}
@media (max-width: 768px) {
  .img-frame {
    padding: 0;
  }
  .frame-decor {
    display: none;
  }
}

.award-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--clr-white);
  color: var(--clr-navy);
  padding: 24px;
  border-radius: var(--rad-sm);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 4px solid var(--clr-coral);
}
.award-badge i {
  width: 36px;
  height: 36px;
}
.award-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.2;
}
.award-badge span {
  font-size: 0.85rem;
  color: var(--clr-gray);
  font-weight: 700;
}
@media (max-width: 768px) {
  .award-badge {
    bottom: -20px;
    right: 20px;
    left: 20px;
    justify-content: center;
  }
}

/* Methodology Bento */
.bento-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .bento-layout {
    grid-template-columns: 1fr;
  }
}
.bl-card {
  padding: 48px;
  border-radius: var(--rad-lg);
  transition: var(--trans);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.bl-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--clr-coral);
}
.bl-card.wide {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .bl-card.wide {
    grid-column: span 1;
  }
}

.bl-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: var(--rad-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
.bl-icon i {
  width: 32px;
  height: 32px;
  color: var(--clr-coral);
}
.bl-icon-huge {
  width: 100px;
  height: 100px;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.bl-icon-huge i {
  width: 50px;
  height: 50px;
  color: var(--clr-coral);
}
.bl-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
@media (max-width: 576px) {
  .bl-flex {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .bl-icon-huge {
    margin-bottom: 24px;
    width: 80px;
    height: 80px;
  }
  .bl-icon-huge i {
    width: 40px;
    height: 40px;
  }
}

/* EU Banner */
.banner-eu {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-radius: var(--rad-lg);
  overflow: hidden;
  border: 1px solid var(--clr-navy);
}
@media (max-width: 991px) {
  .banner-eu {
    grid-template-columns: 1fr;
  }
}
.be-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.be-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
  filter: grayscale(10%);
}

/* Growth Stat */
.circle-kpi {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--clr-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 8px solid var(--clr-coral);
  text-align: center;
}
.icon-xl {
  width: 70px;
  height: 70px;
  margin-bottom: 16px;
}
.kpi-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.kpi-lbl {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 20px;
}
@media (max-width: 576px) {
  .circle-kpi {
    width: 280px;
    height: 280px;
    border-width: 6px;
  }
  .kpi-num {
    font-size: 3rem;
  }
}

/* Diagnostic */
.icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FAQ Accordion */
.acc-wrapper {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.acc-box {
  border-radius: var(--rad-sm);
  transition: var(--trans);
}
.acc-box.active {
  border-color: var(--clr-coral);
  box-shadow: var(--shadow-soft);
  background: var(--clr-white);
}
.acc-head {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
}
@media (max-width: 576px) {
  .acc-head {
    padding: 20px 24px;
    font-size: 1.1rem;
  }
}
.acc-head i {
  color: var(--clr-coral);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 50%;
  padding: 6px;
  width: 36px;
  height: 36px;
}
.acc-box.active .acc-head i {
  transform: rotate(180deg);
  background: var(--clr-coral);
  color: var(--clr-white);
}
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.acc-panel p {
  padding: 0 32px 32px;
  margin-bottom: 0;
}
@media (max-width: 576px) {
  .acc-panel p {
    padding: 0 24px 24px;
  }
}

/* Form Section */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border-radius: var(--rad-lg);
  overflow: hidden;
  border: 1px solid rgba(26, 42, 58, 0.1);
}
@media (max-width: 991px) {
  .form-layout {
    grid-template-columns: 1fr;
  }
}
.fl-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cb-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-white);
}
.cb-item i {
  flex-shrink: 0;
  margin-top: 2px;
}

.form-title {
  font-size: 2.5rem;
  text-align: center;
}
.input-row {
  margin-bottom: 24px;
}
.input-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.input-rel {
  position: relative;
}
.input-rel i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
}
.input-rel input {
  width: 100%;
  padding: 18px 18px 18px 52px;
  border-radius: var(--rad-sm);
  font-family: var(--font-body);
  font-size: 1.05rem;
  transition: var(--trans);
  font-weight: 400;
}
.input-rel input:focus {
  outline: none;
  border-color: var(--clr-coral);
  background: var(--clr-white);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.check-row input {
  margin-top: 6px;
  width: 22px;
  height: 22px;
  accent-color: var(--clr-coral);
  cursor: pointer;
  flex-shrink: 0;
}
.check-row label {
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1.6;
  font-weight: 400;
}

/* Footer */
.fr-edu-footer {
  padding: 80px 0 0;
  border-top: 4px solid var(--clr-coral);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.f-heading {
  font-size: 1.2rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.f-list li {
  margin-bottom: 16px;
}
.f-list a {
  font-size: 1rem;
  font-weight: 400;
}
.f-list a:hover {
  color: var(--clr-coral) !important;
  padding-left: 6px;
}

.c-list-foot li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  font-weight: 400;
}
.c-list-foot i {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-base {
  padding: 32px 0;
  text-align: center;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  bottom: 32px;
  left: 32px;
  max-width: 450px;
  border-left: 6px solid var(--clr-coral);
  padding: 24px;
  border-radius: var(--rad-md);
  z-index: 9999;
  transform: translateY(150%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 576px) {
  .cookie-modal {
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: none;
  }
}
.cookie-modal.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.cm-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.cm-icon i {
  width: 32px;
  height: 32px;
}
.cm-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.cm-desc {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: 400;
}

.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;
  display: flex;
  justify-content: center;
}

.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;
  }
}
