/* =========================================================
   Santa Fe Relocation – Website Styles v1.2
   ========================================================= */

/* =============================================================================
   FONTS
   ============================================================================= */

@font-face {
  font-family: "Helvetica Neue";
  src: url("fonts/HelveticaNeueLTPro-Roman.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("fonts/HelveticaNeueLTPro-Md.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("fonts/HelveticaNeueLTPro-Bd.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* =============================================================================
   ROOT & BASE
   ============================================================================= */

/* Default root size. Fluid scaling kicks in above 1920px —
   formula: Base (16px) + scaling factor based on viewport. */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

@media screen and (min-width: 1921px) {
  html {
    font-size: calc(100% + (1vw - 19.2px) * 0.5);
  }
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #657177;
}

/* =============================================================================
   TYPOGRAPHY — HEADINGS
   ============================================================================= */

h1,
.et_pb_module h1 {
  font-size: clamp(2rem, 1.7rem + 1.5vw, 3.5rem) !important;
  line-height: normal;
  font-weight: 700 !important;
  margin-bottom: auto;
}

/* Placeholder — kept for future divergence from global h1 */
.parent-page h1 {
  font-size: clamp(2rem, 1.7rem + 1.5vw, 3.5rem) !important;
  line-height: normal;
}

h2,
.et_pb_module h2 {
  font-size: clamp(2.25rem, 2.2rem + 0.25vw, 2.5rem) !important;
  line-height: normal;
  font-weight: 700;
  padding-bottom: 0;
  margin-bottom: 1.25rem !important;
}

h3,
.et_pb_module h3 {
  font-size: clamp(1.75rem, 1.7rem + 0.25vw, 2rem);
  line-height: normal;
}

h4,
.et_pb_module h4,
h4 p,
.cta-text p,
h4 li {
  font-size: clamp(1.125rem, 1.1rem + 0.13vw, 1.25rem) !important;
  line-height: normal !important;
  font-weight: 400;
}

.et_pb_module li h4 {
  line-height: normal;
}

/* =============================================================================
   TYPOGRAPHY — BODY & LINKS
   ============================================================================= */

p,
.et_pb_text p {
  font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem);
  line-height: normal;
  font-weight: normal;
}

a,
.et_pb_text a,
.sub-footer {
  font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem);
  line-height: normal;
}

a:hover {
  text-decoration: none;
}

li,
.et_pb_text li {
  font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem);
  line-height: normal;
  margin-left: 0.25rem;
  font-weight: normal;
}

footer li,
header li {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* =============================================================================
   TYPOGRAPHY — COMPONENT OVERRIDES
   ============================================================================= */

/* Content box (dark/coloured background panels) */
.content-box h2,
.content-box h3 {
  color: #fff;
  line-height: normal;
}

.content-box h3 {
  font-weight: 700;
  line-height: normal;
}

.content-box a {
  color: #fff;
  text-decoration: underline;
  line-height: normal;
  text-underline-offset: 0.188rem;
}

/* Form headings */
.form-title h3 {
  font-size: clamp(1.75rem, 1.7rem + 0.25vw, 2rem);
  line-height: normal;
  color: #323a3f;
  font-weight: 700;
}

.form-sub h4 {
  font-size: clamp(1.125rem, 1.1rem + 0.13vw, 1.25rem) !important;
  line-height: normal !important;
  font-weight: 400;
  color: #657177;
}

/* Blog */
.blog-content h3,
.blog-content h4 {
  font-size: clamp(1.75rem, 1.7rem + 0.25vw, 2rem) !important;
  line-height: normal;
  font-weight: 700;
}

.blog-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.188rem;
}

/* Parent page overrides */
.parent-services p,
.parent-testimonials p {
  font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem) !important;
  line-height: normal;
}

/* Awards carousel */
.awards-carousel h6.item-subtitle {
  order: 2;
  text-align: center;
  font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem) !important;
  line-height: normal;
  color: #fff;
  font-weight: 700;
}

/* FAQs mobile links */
.faq-m-col a {
  color: #fff;
  text-decoration: underline;
  font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem);
}

/* =============================================================================
   HEADER BAR
   ============================================================================= */

.partners-careers-offices h3 {
  gap: 5vh;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.partners-careers-offices h3 a {
  font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem);
  line-height: 1.4;
}

.language-switcher a {
  font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem) !important;
  line-height: 1.4 !important;
}

.language-switcher h3 {
  font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem) !important;
}

/* =============================================================================
   MENUS
   ============================================================================= */

#menu-main-menu li a {
  font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem) !important;
  line-height: 1.22;
}

#menu-main-menu .sub-menu li a {
  font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem) !important;
}

.et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li > a {
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem) !important;
}

/* =============================================================================
   LAYOUT — SECTION & ROW WIDTHS
   ============================================================================= */

.et_pb_section {
  width: 100%;
}

/* Header, footer & hero */
#main-header,
#main-footer,
.hero-area {
  width: 90% !important;
  margin: 0 auto;
}

/* Main content area */
.content-area {
  width: 80% !important;
  max-width: 1400px;
  margin: 0 auto;
}

/* Divi row width utilities */
.et_pb_row {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0;
}

.row-100 {
  width: 100% !important;
}
.row-90 {
  width: 90% !important;
}
.row-80 {
  width: 80% !important;
}
.row-70 {
  width: 70% !important;
}
.row-60 {
  width: 60% !important;
}

/* =============================================================================
   RESPONSIVE — 980px
   ============================================================================= */

@media (max-width: 980px) {
  .content-area {
    width: 90% !important;
  }

  .row-80 {
    width: 100% !important;
    padding: 0 5% !important;
  }

  .row-70 {
    width: 100% !important;
    padding: 0 5% !important;
  }

  .row-60 {
    width: 90% !important;
    padding: 0 !important;
  }

  .section-zero-padding {
    padding: 0 !important;
  }

  .sustainable-vision .et_pb_row {
    width: 90%;
  }
}
