/*
Theme Name: BECH Communications
Theme URI: https://bechcommunications.com
Author: BECH Communications
Author URI: https://bechcommunications.com
Description: Custom theme for BECH Communications – Change Communication That Delivers Results. Behavioural design-driven change management consultancy.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bech
*/

/* ========================================
   RESET & BASE
   ======================================== */
:root {
  --navy: #1a1a2e;
  --amber: #d4793a;
  --amber-hover: #c06a2e;
  --amber-light: #f0dcc8;
  --warm-bg: #f8f6f3;
  --text: #2d2d3a;
  --text-muted: #6b6b7b;
  --white: #ffffff;
  --border: #e2dfd9;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { transition: color 0.2s, background 0.2s, border-color 0.2s; }

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  background: var(--amber);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary:hover { background: var(--amber-hover); color: var(--white); }

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* ========================================
   NAVIGATION
   ======================================== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.nav-logo span { color: var(--amber); }

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--amber) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--amber-hover) !important; }

.mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 1.5rem;
  line-height: 1;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: 10rem 2rem 5rem;
  background: var(--navy);
  color: var(--white);
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-photo { display: flex; justify-content: center; }
.hero-photo img {
  width: 280px; height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.1);
}

/* ========================================
   CLIENT LOGOS
   ======================================== */
.logos-bar {
  background: var(--warm-bg);
  padding: 3rem 2rem;
  text-align: center;
}
.logos-bar p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.logo-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}
.logo-grid span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-dark {
  background: var(--navy);
  color: var(--white);
  padding: 6rem 2rem;
}
.section-warm {
  background: var(--warm-bg);
  padding: 6rem 2rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.section h2,
.section-dark h2,
.section-warm h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.problem-grid p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.problem-quote {
  border-left: 3px solid var(--amber);
  padding-left: 1.5rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  margin-top: 2rem;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--amber); }
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.service-deliverables {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.service-deliverables strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}
.service-card-wide { grid-column: span 2; }

/* ========================================
   ENGAGEMENT MODELS
   ======================================== */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.engagement-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 2rem;
}
.engagement-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  font-weight: 400;
}
.engagement-duration {
  color: var(--amber);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.engagement-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========================================
   ABOUT
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.about-photo img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}
.about-text h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  font-weight: 400;
}
.about-text h3:first-child { margin-top: 0; }
.about-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.about-text strong { color: var(--text); }

.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-number {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--amber);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ========================================
   APPROACH
   ======================================== */
.approach-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.approach-principle { margin-bottom: 2rem; }
.approach-principle h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.approach-principle p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.85rem; color: var(--text-muted); }

/* ========================================
   BLOG CARDS
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
  background: var(--white);
}
.blog-card:hover { border-color: var(--amber); }
.blog-card-body { padding: 1.5rem; }
.blog-series {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
  line-height: 1.35;
}
.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.blog-lang-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list { max-width: 750px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.faq-q {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  color: var(--text);
  padding: 0;
}
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a {
  display: none;
  color: var(--text-muted);
  line-height: 1.7;
  padding-top: 0.75rem;
  font-size: 0.95rem;
}
.faq-item.open .faq-a { display: block; }

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 400;
  color: var(--white);
}
.contact-info p {
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  font-size: 0.95rem;
}
.contact-info a { color: var(--amber); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* Contact Form 7 styling */
.contact-section .wpcf7 input[type="text"],
.contact-section .wpcf7 input[type="email"],
.contact-section .wpcf7 textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  width: 100%;
  margin-bottom: 1rem;
  outline: none;
}
.contact-section .wpcf7 input:focus,
.contact-section .wpcf7 textarea:focus { border-color: var(--amber); }
.contact-section .wpcf7 textarea { resize: vertical; min-height: 120px; }
.contact-section .wpcf7 input::placeholder,
.contact-section .wpcf7 textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-section .wpcf7 input[type="submit"] {
  background: var(--amber);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  width: 100%;
}
.contact-section .wpcf7 input[type="submit"]:hover { background: var(--amber-hover); }

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}
.site-footer a { color: rgba(255,255,255,0.4); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* ========================================
   SINGLE POST
   ======================================== */
.single-post-wrap {
  max-width: 750px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}
.single-post-wrap .post-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.single-post-wrap h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.single-post-wrap .entry-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.single-post-wrap .entry-content strong { color: var(--text); }
.post-nav {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
}
.post-nav a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
}
.post-nav a:hover { text-decoration: underline; }

/* ========================================
   BLOG ARCHIVE
   ======================================== */
.archive-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}
.archive-wrap h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.archive-intro {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-photo { order: -1; }
  .hero-photo img { width: 200px; height: 200px; }
  .problem-grid,
  .services-grid,
  .engagement-grid,
  .about-grid,
  .testimonials-grid,
  .blog-grid,
  .contact-grid,
  .approach-cols { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: span 1 !important; }
  .stats-row { gap: 2rem; flex-wrap: wrap; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .mobile-toggle { display: block; }
}
