@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600&display=swap");

* { box-sizing: border-box; }

:root {
  --footer-blue: #01284e;
  --body-text: #333333;
  --article-text: #222222;
  --orange: #ed981f;
  --accent: #ed981f;
  --content-width: 1140px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--body-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 1000;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--accent);
}
.skip-link:focus { top: 0; }

.site-header {
  position: relative;
  z-index: 5;
  height: 86px;
  background: transparent;
}

.header-inner {
  width: min(var(--content-width), calc(100% - 44px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.logo-link, .footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  width: 148px;
  height: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 46px;
  font-family: Roboto, Arial, sans-serif;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 13px 38px;
  color: #ffffff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a::after { display: none; }
.primary-nav a:hover, .primary-nav a.active { color: var(--orange); }

.content-wrap {
  width: min(var(--content-width), calc(100% - 44px));
  margin: 0 auto;
}

.home-hero {
  min-height: 100vh;
  margin-top: -128px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/assets/home-hero.jpg') center center / cover no-repeat fixed;
}

.hero-statement {
  width: min(901px, calc(100% - 48px));
  margin: 160px 0 0;
  color: #ffffff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.7;
  font-weight: 400;
  text-align: center;
}

.about {
  background: #ffffff;
  padding: 80px 10px 71px;
}
.about h1 {
  margin: 0 0 20px;
  color: #333333;
  font-family: Poppins, sans-serif;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
}
.about p {
  margin: 0 0 20px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.article-main, .subpage-main { background: #ffffff; }

.article-hero {
  position: relative;
  overflow: hidden;
  min-height: 387px;
  margin-top: -128px;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/assets/article-hero.jpg') center center / cover no-repeat;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 0;
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.article-hero h1 {
  width: min(var(--content-width), calc(100% - 44px));
  margin: 20px auto 20px;
  color: #ffffff;
  font-family: Roboto, Arial, sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  font-weight: 300;
  text-align: center;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #ffffff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.breadcrumbs a { color: #ffffff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.article-content {
  padding: 40px 0 4px;
  color: var(--article-text);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 14.4px;
}
.article-content ul,
.article-content ol { padding-left: 28px; }
.article-content li { margin: 0 0 8px; }
.article-content strong { font-weight: 700; }
.article-content em { font-style: italic; }
.article-content sup { font-size: 70%; vertical-align: super; }

.relative-articles {
  padding: 20px 0 40px;
}
.relative-articles h2 {
  margin: 0 0 20px;
  color: #222222;
  font-family: Roboto, Arial, sans-serif;
  font-size: 40px;
  line-height: 1;
  font-weight: 400;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.related-card {
  min-height: 375px;
  padding: 20px 30px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.related-card h3 {
  margin: 0 0 25px;
  color: var(--orange);
  font-family: Roboto, Arial, sans-serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
}
.related-card h3 a { color: var(--orange); text-decoration: none; }
.related-card p {
  margin: 0 0 18px;
  color: #777777;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.read-more {
  margin-top: auto;
  color: var(--accent) !important;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  text-decoration: none;
}
.read-more:hover { text-decoration: underline; }

.sub-page .subpage-hero {
  min-height: 300px;
  background: #005fbb;
}
.sub-page .subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #000000;
  opacity: 0.7;
}
.sub-page .subpage-hero .breadcrumbs { display: none; }
.coaching-page .subpage-hero {
  min-height: 446px;
  padding: 150px 0 90px;
}
.coaching-page .subpage-hero h1 {
  width: min(1096px, calc(100% - 88px));
  font-size: 40px;
  line-height: 1;
}
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 20px;
  padding: 15px 30px;
  border-radius: 3px;
  background: var(--orange);
  color: #ffffff;
  font: 500 15px/1 Roboto, Arial, sans-serif;
  text-decoration: none;
}
.coaching-content h1 span { color: var(--orange); }
.coaching-content ul {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
}
.coaching-content li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 24px;
  font-size: 18px;
  line-height: 1.7;
}
.coaching-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
}
.coaching-content .lead-label { font-weight: 600; }
.contact-page .page-content { padding: 70px 0 80px; }
.contact-intro { margin-bottom: 28px; }
.contact-info-panel h2, .contact-form h2 {
  margin: 0 0 40px;
  color: #0d0d0d;
  font-family: "Josefin Sans", sans-serif;
  font-size: 35px;
  line-height: 48px;
  font-weight: 600;
}
.contact-info-panel h3 {
  margin: 8px 0 4px;
  color: #333333;
  font-family: "Josefin Sans", sans-serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
}
.contact-info-panel p {
  margin: 0 0 28px;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.contact-info-panel a { color: #333333; text-decoration: none; }
.contact-form label { font-size: 0; gap: 0; }
.contact-form input,
.contact-form textarea {
  border: 1px solid #69727d;
  padding: 8px 16px;
  color: #171717;
  font-family: "Josefin Sans", sans-serif;
  font-size: 15px;
  line-height: 21px;
}
.contact-form input { height: 40px; }
.contact-form textarea { min-height: 264px; padding: 5px 14px; }
.contact-form button {
  justify-self: stretch;
  height: 40px;
  background: #2d74ba;
  color: #ffffff;
  font: 500 15px/15px Roboto, Arial, sans-serif;
}

.page-content {
  padding: 50px 0 70px;
  color: var(--article-text);
  font-family: Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}
.page-content h2 {
  margin: 0 0 20px;
  color: #222;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
}
.page-content p { margin: 0 0 22px; }
.page-content a { color: var(--accent); }
.resources-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 0;
}
.resource-card {
  padding: 20px 30px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.resource-card h2 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.resource-card h2 a { 
  color: #222222; 
  text-decoration: none; 
  font-weight: 600;
}
.resource-card p { 
  color: #777777; 
  font-size: 14px; 
  line-height: 1.6; 
  margin-bottom: 16px;
}
.resource-card .read-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}
.resource-card .read-more:hover {
  text-decoration: underline;
}
/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Contact Info Card */
.contact-info-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 40px 35px;
}
.contact-info-card h2 {
  margin: 0 0 30px;
  font-size: 24px;
  color: #222;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-item:last-child { margin-bottom: 0; }

.contact-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-content h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.contact-item-content h3 a {
  color: #222;
  text-decoration: none;
}
.contact-item-content h3 a:hover {
  color: var(--orange);
}
.contact-item-content p {
  margin: 0;
  font-size: 14px;
  color: #777;
}
.contact-item-content a {
  color: #777;
  text-decoration: none;
}
.contact-item-content a:hover {
  color: var(--orange);
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 40px 35px;
}
.contact-form-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #222;
  font-weight: 600;
}
.form-intro {
  margin: 0 0 28px;
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 12px 16px;
  font: 15px/1.5 Roboto, Arial, sans-serif;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(237, 152, 31, 0.15);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form .submit-btn {
  align-self: start;
  border: 0;
  padding: 12px 40px;
  background: var(--orange);
  color: white;
  font: 600 16px/1 Roboto, Arial, sans-serif;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form .submit-btn:hover {
  background: #d4840e;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .resources-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-column {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .resources-list {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
  }
  .primary-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
  }
  .article-hero {
    min-height: 200px;
    padding: 100px 0 60px;
  }
  .article-hero h1 {
    font-size: 28px;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 25px 20px;
  }
  .resource-card {
    padding: 18px 20px;
  }
}

.site-footer {
  background: var(--footer-blue);
  color: #ffffff;
  padding: 40px 10px;
  font-family: Roboto, Arial, sans-serif;
}
.footer-inner {
  width: min(var(--content-width), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.footer-column {
  min-height: 423px;
  padding: 10px;
}
.footer-logo {
  width: 122px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  width: min(360px, 100%);
  margin: 19px 0 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.7;
}
.site-footer h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 25px;
  line-height: 1;
  font-weight: 600;
}
.footer-articles article { margin: 0 0 15px; }
.footer-articles h3 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}
.footer-articles a, .contact-list a { color: #ffffff; text-decoration: none; }
.footer-articles a:hover, .contact-list a:hover { text-decoration: underline; }
.footer-articles time {
  display: block;
  color: #d7e1ed;
  font-size: 12px;
  line-height: 1.4;
}
.contact-list, .social-list { margin: 0; padding: 0; list-style: none; }
.contact-list { margin-top: 16px; }
.contact-list li { margin: 0 0 14px; color: #ffffff; font-size: 16px; }
.social-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.social-list a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--footer-blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

@media (min-width: 1260px) {
  .site-logo { width: 176px; }
}

@media (max-width: 900px) {
  .site-header, .header-inner { height: auto; }
  .header-inner { flex-direction: column; align-items: flex-start; padding: 22px 0; gap: 18px; }
  .primary-nav { flex-wrap: wrap; justify-content: flex-start; }
  .primary-nav a { padding: 8px 12px; }
  .home-hero, .article-hero { margin-top: 0; background-attachment: scroll; }
  .home-hero { min-height: 520px; }
  .hero-statement { margin: 0; font-size: 20px; }
  .article-hero { min-height: 300px; padding: 80px 0 60px; }
  .article-hero h1 { font-size: 42px; }
  .footer-inner, .related-grid, .resources-list, .contact-grid { grid-template-columns: 1fr; }
  .footer-column { min-height: 0; }
  .related-card { min-height: 0; }
}

@media (max-width: 560px) {
  .site-logo { width: 150px; }
  .about { padding: 54px 10px; }
  .about h1 { font-size: 32px; }
  .hero-statement { font-size: 18px; line-height: 1.55; }
  .article-hero h1 { font-size: 34px; }
  .relative-articles h2 { font-size: 32px; }
}

/* Live-site second-pass refinements */
.sub-page .subpage-hero h1 {
  margin: 0 auto;
}
.contact-page .page-content .contact-info-panel h2,
.contact-page .page-content .contact-form h2 {
  margin: 0 0 40px;
  color: #0d0d0d;
  font-family: "Josefin Sans", sans-serif;
  font-size: 35px;
  line-height: 48px;
  font-weight: 600;
}
.contact-page .contact-form input,
.contact-page .contact-form textarea {
  border: 1px solid #69727d;
  color: #171717;
  font-family: "Josefin Sans", sans-serif;
  font-size: 15px;
  line-height: 21px;
}
.contact-page .contact-form input {
  height: 40px;
  padding: 8px 16px;
}
.contact-page .contact-form textarea {
  min-height: 264px;
  padding: 5px 14px;
}
.contact-page .contact-form button {
  justify-self: stretch;
  width: 100%;
  height: 40px;
  padding: 0 24px;
  background: #2d74ba;
  color: #ffffff;
  font: 500 15px/15px Roboto, Arial, sans-serif;
}

.contact-page .contact-grid {
  grid-template-columns: minmax(0, 500px) minmax(0, 500px);
  justify-content: center;
  gap: 80px;
}

.page-content h1 {
  margin: 0 0 20px;
  color: #333333;
  font-family: Poppins, sans-serif;
  font-size: 40px;
  line-height: 40px;
  font-weight: 700;
}
.coaching-content h1 { margin-top: 20px; }

.resource-card h2 {
  margin: 0 0 25px;
  color: #222222;
  font-family: Roboto, Arial, sans-serif;
  font-size: 26px;
  line-height: 31.2px;
  font-weight: 400;
}
.read-more {
  color: var(--orange) !important;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

/* Page-specific live Elementor template fixes */
.about-page .page-content {
  padding: 40px 0;
}
.resources-page .subpage-hero {
  background: url('/assets/article-hero.jpg') center center / cover no-repeat;
}
.resources-page .page-content {
  padding: 90px 0;
  background: #f5f5f5;
}
.resources-page .read-more {
  text-transform: uppercase;
}

/* Color correction: remove inherited Elementor magenta from visible links */
.page-content a,
.read-more,
.resource-card .read-more,
.related-card .read-more,
.coaching-content a {
  color: var(--orange) !important;
}
.contact-page .contact-info-panel a {
  color: #333333 !important;
}
