/* Blue Planet Consulting - shared styles */

:root {
  --navy: #1a1a1a;
  --blue: #2f6fb0;
  --blue-deep: #1f4d7a;
  --blue-light: #eaf3fb;
  --sky: #dbeafc;
  --orange: #e8823c;
  --orange-dark: #c96a2c;
  --green: #27c518;
  --green-light: #eafbea;
  --yellow: #ffd703;
  --gold-text: #a68c02;
  --red: #d64545;
  --text: #1a1a1a;
  --text-soft: #4a4a4a;
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --card-bg: #ffffff;
  --border: #e5e5e5;
  --header-bg: #ffffff;
}

/* Light theme only - no dark-mode variant, so branding stays consistent regardless of viewer's system setting. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}

a { color: var(--blue); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}
nav.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 700;
  font-style: italic;
  font-size: 23px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  white-space: nowrap;
}
.logo .brand-blue { color: #6297bc; }
.logo .brand-green { color: #9ec630; }
.logo .brand-gray { color: #8a8a8a; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--text); border-bottom: 2px solid var(--yellow); padding-bottom: 4px; }

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.call-btn:hover { background: var(--orange-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--text);
  font-size: 20px;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  nav.navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 20px;
    gap: 14px;
  }
  .header-call { display: none; }
}

/* Hero */
.hero {
  background: var(--yellow);
  color: var(--navy);
  padding: 64px 0 56px;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(0,0,0,0.08);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 16px; line-height: 1.15; }
.hero p.lead { font-size: 18px; color: #2b2b2b; margin: 0 0 28px; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.hero-photo img { width: 100%; height: 320px; object-fit: cover; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { height: 220px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-call { background: var(--orange); color: #fff; }
.btn-call:hover { background: var(--orange-dark); }
.btn-outline { border-color: rgba(26,26,26,0.5); color: var(--navy); }
.btn-outline:hover { background: rgba(26,26,26,0.06); }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: #e6c103; }
.btn-secondary { border-color: var(--blue); color: var(--blue); }
.btn-secondary:hover { background: var(--blue-light); }

/* Section basics */
section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: block;
  color: var(--gold-text);
  background: none;
  width: max-content;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  margin-bottom: 14px;
}
h2.section-title { font-size: clamp(24px, 3vw, 32px); margin: 0 0 12px; }
p.section-sub { color: var(--text-soft); font-size: 17px; max-width: 65ch; margin: 0 0 36px; }

/* Cards / grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.icon-blue { background: var(--blue-light); color: var(--blue); }
.icon-green { background: var(--green-light); color: var(--green); }
.icon-orange { background: #fdece1; color: var(--orange); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--text-soft); font-size: 15px; }
.card a.card-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; text-decoration: none; }

.card.has-photo { padding: 0; overflow: hidden; }
.card.has-photo .card-photo { width: 100%; height: 170px; object-fit: cover; display: block; }
.card.has-photo .card-body { padding: 20px 26px 26px; }

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--text-soft); }
.trust-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 52px 0;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); color: var(--yellow); }
.cta-band p { margin: 0 0 24px; color: #d8d8d8; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #cfcfcf;
  padding: 48px 0 28px;
  font-size: 14px;
}
footer.site-footer a { color: #fff; text-decoration: none; }
footer.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--yellow); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Page header (inner pages) */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}
.page-header h1 { margin: 0 0 8px; font-size: clamp(26px, 3.5vw, 36px); }
.page-header p { margin: 0; color: #d8d8d8; max-width: 60ch; }

/* Service detail blocks */
.service-block { display: grid; grid-template-columns: 0.4fr 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: none; }
.service-block h3 { margin: 0; font-size: 21px; }
.service-block ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-soft); }
.service-block li { margin-bottom: 6px; }
@media (max-width: 700px) { .service-block { grid-template-columns: 1fr; } }

/* Forms */
form.enquiry-form { display: grid; gap: 16px; max-width: 520px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }

/* Contact info list */
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info .row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .row .icon { flex-shrink: 0; }

/* Utility */
.tag {
  display: inline-block;
  background: var(--green-light);
  color: #1e8e0f;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag-orange { background: #fdece1; color: var(--orange); }
.tag-yellow { background: #fdf3d4; color: var(--gold-text); }
.cross-promo {
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--bg-alt);
}
