/* Wingman Risk Management - Static recreation */
:root {
  --navy: #0a2540;
  --navy-dark: #061a2e;
  --navy-mid: #0d2f4f;
  --red: #e31c25;
  --red-hover: #c4161e;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --text: #1a1a1a;
  --text-muted: #4a5568;
  --card-shadow: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header */
.header {
  background: var(--navy);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo img {
  height: 90px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--red);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-dark);
  min-width: 260px;
  padding: 0.5rem 0;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

.nav-dropdown-content a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
}

.nav-dropdown-content a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--red);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero / About section */
.hero-section {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 3.5rem 1.5rem 4.5rem;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.hero-image-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-tagline {
  position: absolute;
  top: 18%;
  left: 8%;
  right: 8%;
  color: var(--white);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

.about-card {
  background: var(--white);
  border-radius: 8px;
  border-top: 5px solid var(--red);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--card-shadow);
}

.about-card h2 {
  color: var(--navy);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about-card .accent-line {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-bottom: 1.25rem;
}

.about-card p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/* Services */
.services-section {
  background: var(--navy);
  padding: 3.5rem 1.5rem 4.5rem;
}

.services-section h2 {
  text-align: center;
  color: var(--white);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.services-section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--red);
  margin: 0.75rem auto 0;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--off-white);
  border-radius: 8px;
  border-top: 5px solid var(--red);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.service-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.service-card p {
  color: var(--text);
  font-size: 1rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

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

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--red);
  color: var(--red);
}

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

/* Contact */
.contact-section {
  background: var(--navy-mid);
  padding: 3.5rem 1.5rem 4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-section h2 {
  text-align: center;
  color: var(--white);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.contact-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.contact-form label {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 0.45rem 0;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--red);
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
  margin-bottom: 1.25rem;
}

.contact-form .btn {
  margin-top: 0.5rem;
}

.contact-info {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.contact-info a {
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}

.contact-info a:hover {
  color: var(--red);
}

.contact-info p {
  margin-bottom: 0.85rem;
}

.contact-info .social {
  margin-top: 1.25rem;
}

.contact-info .social img {
  width: 36px;
  height: 36px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.contact-info .social img:hover {
  opacity: 1;
}

/* Footer */
.footer {
  background: var(--navy-dark);
  padding: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer a {
  color: rgba(255,255,255,0.7);
}

.footer a:hover {
  color: var(--red);
}

/* Page content (service pages etc.) */
.page-content {
  background: var(--navy);
  padding: 3rem 1.5rem 4rem;
  min-height: 60vh;
}

.page-content .container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem 2.75rem;
  box-shadow: var(--card-shadow);
}

.page-content h1 {
  color: var(--navy);
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

.page-content .accent-line {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-bottom: 1.5rem;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.page-content ul {
  margin: 0.5rem 0 1.25rem 1.4rem;
}

.page-content h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.6rem;
}

.page-content .back-link {
  display: inline-block;
  margin-top: 1.75rem;
  color: var(--red);
  font-weight: 500;
}

.page-content .back-link:hover {
  text-decoration: underline;
}

/* Blog list */
.blog-list {
  max-width: 800px;
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow);
}

.blog-card h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.blog-card .meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* Privacy */
.privacy-content h2 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.privacy-content p,
.privacy-content li {
  font-size: 0.95rem;
}

/* Contact form: spam trap + status messages */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status.success {
  color: #7ddc9a;
}

.form-status.error {
  color: #ff9a9f;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 1rem;
    gap: 0.75rem;
  }
  .menu-toggle {
    display: block;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
  .page-content .container {
    padding: 1.75rem 1.25rem;
  }
  .header-inner {
    padding: 0.6rem 1rem;
  }
  .logo img {
    height: 64px;
  }
  .hero-section {
    padding: 1.5rem 0.75rem 2.5rem;
  }
  .hero-image-wrap img {
    height: 320px;
  }
  .hero-tagline {
    top: 12%;
    left: 6%;
    right: 6%;
    font-size: 1.9rem;
  }
  .about-card {
    padding: 1.5rem 1.25rem;
  }
  .about-card h2 {
    font-size: 1.9rem;
  }
  .about-card p {
    font-size: 1.02rem;
  }
  .services-section {
    padding: 2.5rem 0.75rem 3rem;
  }
  .services-section h2 {
    font-size: 2.1rem;
    margin-bottom: 2rem;
  }
  .services-grid {
    gap: 1rem;
  }
  .service-card {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .service-card h3 {
    font-size: 1.3rem;
  }
  .service-card p {
    font-size: 1rem;
  }
  .service-card .btn {
    align-self: stretch;
    text-align: center;
    padding: 0.85rem 1rem;
  }
  .contact-section {
    padding: 2.5rem 1rem 3rem;
  }
  .contact-form .btn {
    width: 100%;
  }
}

/* ---------- Content pages & blog (added) ---------- */
.page-content h2 {
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 0.7rem;
  line-height: 1.3;
}

.page-content ol {
  margin: 0.5rem 0 1.25rem 1.4rem;
}

.page-content a:not(.btn):not(.back-link) {
  color: var(--red);
}

.page-content a:not(.btn):not(.back-link):hover {
  text-decoration: underline;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-muted) !important;
}

.post-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.post-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.key-takeaways {
  background: var(--off-white);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  padding: 1.1rem 1.4rem 0.4rem;
  margin: 1.25rem 0 1.75rem;
}

.key-takeaways h2 {
  font-size: 1.1rem;
  margin: 0 0 0.6rem;
}

.key-takeaways ul {
  margin: 0 0 0.8rem 1.2rem;
}

.key-takeaways li {
  margin-bottom: 0.4rem;
}

.page-content blockquote {
  border-left: 4px solid var(--navy);
  padding: 0.4rem 0 0.4rem 1.2rem;
  margin: 1.25rem 0;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 600;
}

.cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 1.6rem 1.75rem;
  margin: 2.25rem 0 1.5rem;
}

.cta-box h2 {
  color: var(--white);
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.cta-box p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 1rem;
}

.cta-box .btn {
  color: var(--white);
}

.author-box {
  border-top: 1px solid #e2e6ea;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.95rem;
}

.author-box p {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.related-posts {
  margin-top: 1.25rem;
}

.related-posts ul {
  margin-bottom: 0.5rem;
}

.blog-card h2 a {
  color: var(--navy);
}

.blog-card h2 a:hover {
  color: var(--red);
}

.blog-card .read-more {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
}

.blog-intro {
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

@media (max-width: 640px) {
  .page-content h2 {
    font-size: 1.3rem;
  }
  .cta-box {
    padding: 1.25rem;
  }
  .cta-box .btn {
    display: block;
    text-align: center;
  }
}

.page-content .cta-box a:not(.btn) {
  color: var(--white);
  text-decoration: underline;
}

.page-content .blog-card h2 {
  margin: 0 0 0.5rem;
}

.page-content .blog-card h2 a:not(.btn) {
  color: var(--navy);
}

.page-content .blog-card h2 a:not(.btn):hover {
  color: var(--red);
  text-decoration: none;
}

.page-content p.blog-intro {
  color: rgba(255,255,255,0.85);
}

/* ---------- Pillars, lead, nav groups, language switch ---------- */
.nav-group {
  display: block;
  padding: 0.7rem 1.2rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.nav a.nav-lang {
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 4px;
  padding: 0.15rem 0.55rem;
  font-size: 0.8rem;
}

.nav a.nav-lang:hover {
  border-color: var(--red);
}

.pillar {
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.pillar-title {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.pillar-intro {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}

.services-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.service-card h4 {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.hero-section h1 {
  color: var(--navy);
}

.about-card h1 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.about-card .btn {
  margin-top: 0.5rem;
}

.pillar-label {
  color: var(--red) !important;
  font-size: 0.8rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem !important;
}

.page-content p.lead {
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.6;
}

.confidential-note {
  text-align: center;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: -1.5rem auto 2rem;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .services-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .services-grid.cols-2 {
    grid-template-columns: 1fr;
  }
  .about-card h1 {
    font-size: 1.6rem;
  }
  .pillar {
    margin-bottom: 2rem;
  }
  .pillar-title {
    font-size: 1.35rem;
  }
  .service-card h4 {
    font-size: 1.3rem;
  }
  .nav.open .nav-dropdown-content {
    display: block;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 0.75rem;
    min-width: 0;
  }
  .nav.open .nav-group {
    padding-left: 0;
  }
  .nav.open .nav-dropdown-content a {
    padding: 0.4rem 0;
  }
}

/* At-a-glance box */
.at-a-glance {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.25rem;
  background: var(--off-white);
  border-left: 4px solid var(--navy);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin: 0.5rem 0 1.25rem;
}

.at-a-glance dt {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.at-a-glance dd {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 640px) {
  .at-a-glance {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
  .at-a-glance dd {
    margin-bottom: 0.6rem;
  }
}

/* Leadership block */
.founder-section {
  background: var(--navy);
  padding: 0 1.5rem 3.5rem;
}

.founder-card {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  color: rgba(255,255,255,0.9);
}

.founder-card h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.founder-card p {
  margin-bottom: 0.6rem;
}

.founder-card a {
  color: var(--white);
  text-decoration: underline;
}

.founder-card a:hover {
  color: var(--red);
}

@media (max-width: 640px) {
  .founder-section {
    padding: 0 0.75rem 2.5rem;
  }
  .founder-card {
    padding: 1.25rem;
  }
}
