/* VARIABLES & THEME */
:root {
  --color-dark: #0d3b66; /* Deep Teal/Navy */
  --color-dark-alt: #082440;
  --color-yellow: #f4d35e; /* Vibrant Yellow */
  --color-yellow-hover: #e3c04d;
  --color-red: #ef476f; /* Accent Red */
  --color-blue: #118ab2; /* Accent Blue */

  --color-bg-white: #ffffff;
  --color-bg-gray: #f8f9fa;

  --color-text-main: #1e2022;
  --color-text-muted: #6c757d;
  --color-text-light: #e9ecef;

  --color-border: #dee2e6;
  --color-border-dark: #2a4f75;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --shadow-sm: 0 4px 6px rgba(13, 59, 102, 0.05);
  --shadow-md: 0 10px 25px rgba(13, 59, 102, 0.1);
  --shadow-lg: 0 20px 40px rgba(13, 59, 102, 0.15);

  --rad-sm: 6px;
  --rad-md: 12px;
  --rad-lg: 24px;

  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-white);
  color: var(--color-text-main);
  line-height: 1.6;
}

.page-wrapper {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--rad-md);
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
section {
  padding: 100px 0;
  position: relative;
}
.bg-gray {
  background-color: var(--color-bg-gray);
}
.bg-dark {
  background-color: var(--color-dark);
  color: var(--color-text-light);
}
.text-center {
  text-align: center;
}
.text-white {
  color: #ffffff !important;
}
.text-light {
  color: var(--color-text-light) !important;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mt-2 {
  margin-top: 20px;
}
.w-100 {
  width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
}
.bg-dark h2,
.bg-dark h3 {
  color: #ffffff;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 60px;
}
.section-h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.section-p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.section-p:last-child {
  margin-bottom: 0;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background-color: var(--color-yellow);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: var(--rad-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(244, 211, 94, 0.4);
}
.btn-primary:hover {
  background-color: var(--color-yellow-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 211, 94, 0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border: 2px solid var(--color-dark);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--rad-sm);
  transition: var(--transition);
}
.btn-outline:hover {
  background-color: var(--color-dark);
  color: #fff;
}

.btn-solid-nav {
  background-color: var(--color-red);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--rad-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-solid-nav:hover {
  background-color: #d6395b;
}

/* HEADER */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-svg {
  width: 44px;
  height: 44px;
}
.poly-spin {
  transform-origin: center;
  animation: spinPoly 15s linear infinite;
}
@keyframes spinPoly {
  100% {
    transform: rotate(360deg);
  }
}
.core-beat {
  animation: beatCore 1.5s infinite alternate;
}
@keyframes beatCore {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.5px;
}

.main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-btn-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-main);
  position: relative;
}
.nav-btn-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-blue);
  transition: var(--transition);
}
.nav-btn-link:hover {
  color: var(--color-blue);
}
.nav-btn-link:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  color: var(--color-dark);
  cursor: pointer;
}

/* MOBILE MENU */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-dark);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
}
.fullscreen-menu.active {
  transform: translateX(0);
}
.menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--color-border-dark);
}
.close-btn {
  background: none;
  border: none;
  color: var(--color-yellow);
  cursor: pointer;
}
.menu-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  width: 100%;
}
.mob-item {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.color-accent {
  color: var(--color-yellow);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  background-color: var(--color-bg-gray);
  overflow: hidden;
  width: 100%;
}
.hero-bg-shapes {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(17, 138, 178, 0.1) 0%,
    transparent 60%
  );
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  max-width: 800px;
}
.hero-flex {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 500px;
  max-width: 100%;
}
.tag-label {
  display: inline-block;
  background-color: var(--color-dark);
  color: var(--color-yellow);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-h1 span {
  color: var(--color-blue);
}
.hero-p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  flex: 1 1 400px;
  max-width: 100%;
  position: relative;
}
.image-container {
  position: relative;
  padding-bottom: 20px;
  padding-left: 20px;
}
.hero-img {
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.image-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 80%;
  background-color: var(--color-yellow);
  border-radius: var(--rad-md);
  z-index: 1;
}

.floating-badge {
  position: absolute;
  background-color: #fff;
  padding: 16px 20px;
  border-radius: var(--rad-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 3;
  border-left: 4px solid var(--color-red);
  max-width: 90%;
}
.floating-badge i {
  color: var(--color-dark);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.floating-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-dark);
  line-height: 1.2;
}
.floating-badge span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.badge-top {
  top: 30px;
  right: -30px;
  animation: floatY 4s infinite ease-in-out;
}
.badge-bottom {
  bottom: 50px;
  left: -20px;
  animation: floatY 5s infinite ease-in-out reverse;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* SPLIT GRIDS */
.grid-split {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}
.reverse-flow {
  flex-direction: row-reverse;
}
.split-visual {
  flex: 1 1 450px;
  max-width: 100%;
}
.split-visual img {
  box-shadow: var(--shadow-md);
  width: 100%;
}
.split-content {
  flex: 1 1 450px;
  max-width: 100%;
}

/* BENTO LAYOUT (Features) */
.bento-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.bento-box {
  background-color: #fff;
  border: 1px solid var(--color-border);
  padding: 40px;
  border-radius: var(--rad-md);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}
.bento-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-blue);
}
.icon-circle {
  width: 64px;
  height: 64px;
  background-color: rgba(17, 138, 178, 0.1);
  color: var(--color-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-bottom: 24px;
  transition: var(--transition);
}
.bento-box:hover .icon-circle {
  background-color: var(--color-blue);
  color: #fff;
}
.box-h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.box-p {
  color: var(--color-text-muted);
}

/* REGION SECTION */
.region-wrapper {
  padding: 40px 0;
}
.region-content-box {
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark-alt));
  padding: 80px 40px;
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--color-border-dark);
  position: relative;
  overflow: hidden;
}
.region-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-yellow);
  color: var(--color-dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}
.region-icon i {
  width: 40px;
  height: 40px;
}
.region-content-box h2,
.region-content-box .section-p {
  position: relative;
  z-index: 1;
}
.region-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  text-align: left;
  position: relative;
  z-index: 1;
}
.region-details p {
  color: var(--color-text-light);
  opacity: 0.9;
}

/* STEPS SECTION */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.step-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  padding: 40px 30px;
  border-radius: var(--rad-md);
  position: relative;
  text-align: center;
}
.step-num {
  width: 60px;
  height: 60px;
  background-color: var(--color-dark);
  color: var(--color-yellow);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-sm);
}

/* FAQ ACCORDION */
.faq-limit {
  max-width: 800px;
}
.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.accordion-block {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--rad-sm);
  overflow: hidden;
}
.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.accordion-btn:hover {
  background-color: var(--color-bg-gray);
}
.accordion-btn i {
  color: var(--color-red);
  transition: transform 0.4s ease;
  flex-shrink: 0;
  margin-left: 20px;
}
.accordion-block.active .accordion-btn i {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-text {
  padding: 0 30px 30px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}
.accordion-text p {
  margin-bottom: 16px;
}
.accordion-text p:last-child {
  margin-bottom: 0;
}

/* CONTACT FORM */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.icon-box {
  width: 44px;
  height: 44px;
  background-color: rgba(239, 71, 111, 0.1);
  color: var(--color-red);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--rad-sm);
  flex-shrink: 0;
}
.info-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 4px;
}
.info-text span {
  color: var(--color-text-muted);
}

.contact-form-area {
  background-color: #fff;
  padding: 50px;
  border-radius: var(--rad-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.application-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap i {
  position: absolute;
  left: 16px;
  color: var(--color-text-muted);
  width: 20px;
  height: 20px;
}
.input-wrap input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--rad-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-main);
  transition: var(--transition);
  background-color: var(--color-bg-gray);
}
.input-wrap input:focus {
  outline: none;
  border-color: var(--color-blue);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(17, 138, 178, 0.1);
}
.captcha-row {
  padding-top: 16px;
  border-top: 1px dashed var(--color-border);
}
.check-row {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 5px;
}
.check-row input {
  margin-top: 6px;
  width: 20px;
  height: 20px;
  accent-color: var(--color-blue);
  cursor: pointer;
  flex-shrink: 0;
}
.legal-desc {
  font-size: 0.85rem !important;
  color: var(--color-text-muted) !important;
  font-weight: 400 !important;
  cursor: pointer;
  line-height: 1.6;
  white-space: normal;
}
.link-bold {
  color: var(--color-dark);
  text-decoration: underline;
  font-weight: 700;
}

/* FOOTER */
.main-footer {
  background-color: var(--color-dark);
  padding: 80px 0 30px;
  border-top: 4px solid var(--color-yellow);
  color: var(--color-text-light);
}
.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-logo {
  margin-bottom: 24px;
}
.footer-p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 350px;
}
.footer-h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-nav li {
  margin-bottom: 12px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}
.footer-nav a:hover {
  color: var(--color-yellow);
}
.contact-infos li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.contact-infos i {
  color: var(--color-yellow);
  margin-top: 2px;
  width: 18px;
  height: 18px;
}
.link-accent {
  color: var(--color-yellow) !important;
  font-weight: 700;
  text-decoration: underline;
  font-family: var(--font-heading);
  margin-bottom: 10px;
  display: inline-block;
}
.copyright-bar {
  text-align: center;
  border-top: 1px solid var(--color-border-dark);
  padding-top: 30px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* COOKIE POPUP */
.cookie-popup {
  position: fixed;
  bottom: -150%;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 24px 0;
  z-index: 3000;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--color-dark);
  transition: bottom 0.5s ease-in-out;
}
.cookie-popup.show {
  bottom: 0;
}
.cookie-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cookie-info-area {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 1 400px;
}
.cookie-icon {
  background-color: rgba(13, 59, 102, 0.1);
  color: var(--color-dark);
  padding: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cookie-text-area h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.cookie-text-area p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.cookie-text-area a {
  color: var(--color-red);
  text-decoration: underline;
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .burger-menu {
    display: block;
  }

  .hero-flex,
  .grid-split,
  .contact-container {
    flex-direction: column;
    gap: 50px;
  }
  .hero-text,
  .split-content {
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }

  .hero-image-wrap,
  .split-visual {
    width: 100%;
    order: -1;
  }

  .badge-top {
    top: 20px;
    right: 10px;
  }
  .badge-bottom {
    bottom: 20px;
    left: 10px;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 75px;
  }
  section {
    padding: 80px 0;
  }

  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-h1 {
    font-size: 2.3rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .floating-badge {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 10px;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    animation: none;
  }

  .region-content-box {
    padding: 50px 20px;
  }
  .contact-form-area {
    padding: 30px 20px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand-sect,
  .contact-infos li {
    justify-content: center;
  }
  .footer-p {
    margin: 16px auto 0;
  }

  .cookie-flex {
    flex-direction: column;
    text-align: center;
  }
  .cookie-info-area {
    flex-direction: column;
  }
  #accept-cookie-btn {
    width: 100%;
  }
}

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