/*
Theme Name: Bravo Echo Polygraph Services
Theme URI: https://bravoechopolygraph.com
Author: Bravo Echo Polygraph Services
Description: Professional website theme for Bravo Echo Polygraph Services
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: bravo-echo
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal: #161616;
  --dark: #1E1E1E;
  --mid: #2A2A2A;
  --grey: #5A5A5A;
  --light-grey: #9A9A9A;
  --pale: #E4E0DC;
  --maroon: #8B1A1A;
  --maroon-mid: #A52020;
  --maroon-bright: #C0282A;
  --white: #FFFFFF;
  --text-muted: #B8B4B0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", sans-serif;
  background: var(--charcoal);
  color: var(--white);
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.be-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 3rem;
  background: rgba(22,22,22,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139,26,26,0.3);
}

.be-nav-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.be-nav-logo img { height: 46px; width: auto; object-fit: contain; }
.be-nav-brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.01em; line-height: 1.15;
}
.be-nav-brand-sub {
  font-size: 0.6rem; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--light-grey); display: block;
}

.be-nav-menu { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.be-nav-menu a {
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.be-nav-menu a:hover { color: var(--maroon-bright); }
.be-nav-cta {
  background: var(--maroon) !important; color: var(--white) !important;
  padding: 0.55rem 1.3rem; border-radius: 2px; font-weight: 500 !important;
  transition: background 0.2s !important;
}
.be-nav-cta:hover { background: var(--maroon-mid) !important; color: var(--white) !important; }

/* ===== HERO ===== */
.be-hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 7rem 3rem 5rem; position: relative; overflow: hidden;
}
.be-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #0e0e0e 0%, #1a1010 40%, #1a1a1a 100%);
}
.be-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(139,26,26,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,26,26,0.06) 1px, transparent 1px);
  background-size: 55px 55px;
}
.be-hero-glow {
  position: absolute; top: 20%; left: 15%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,26,26,0.12) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.be-hero-content { position: relative; z-index: 1; max-width: 640px; }
.be-hero-logo { margin-bottom: 2rem; }
.be-hero-logo img {
  height: 110px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(192,40,42,0.35));
}

.be-tagline-bar { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.be-tag {
  background: rgba(139,26,26,0.18); border: 1px solid rgba(192,40,42,0.4);
  color: var(--maroon-bright); padding: 0.3rem 0.75rem; border-radius: 2px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}

.be-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 1.25rem; color: var(--white);
}
.be-hero h1 em { font-style: italic; color: var(--maroon-bright); }

.be-hero-sub {
  font-size: 1.05rem; font-weight: 300; line-height: 1.75;
  color: var(--text-muted); max-width: 500px; margin-bottom: 2.25rem;
}
.be-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.be-hero-stats {
  position: absolute; right: 3rem; bottom: 4rem; z-index: 1;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.be-stat-card {
  background: rgba(30,30,30,0.8); border: 1px solid rgba(139,26,26,0.2);
  border-left: 3px solid var(--maroon); padding: 1rem 1.6rem;
  backdrop-filter: blur(8px); min-width: 175px;
}
.be-stat-num {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem; font-weight: 700; color: var(--maroon-bright); line-height: 1; margin-bottom: 0.2rem;
}
.be-stat-label { font-size: 0.7rem; font-weight: 400; color: var(--light-grey); letter-spacing: 0.05em; text-transform: uppercase; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--maroon); color: var(--white);
  padding: 0.85rem 1.9rem; border: none; border-radius: 2px;
  font-family: "DM Sans", sans-serif; font-size: 0.88rem; font-weight: 500;
  cursor: pointer; transition: background 0.2s, transform 0.1s;
  text-decoration: none; letter-spacing: 0.04em; display: inline-block;
}
.btn-primary:hover { background: var(--maroon-mid); transform: translateY(-1px); color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--white);
  padding: 0.85rem 1.9rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 2px;
  font-family: "DM Sans", sans-serif; font-size: 0.88rem; font-weight: 400;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
  text-decoration: none; letter-spacing: 0.04em; display: inline-block;
}
.btn-ghost:hover { border-color: var(--maroon-bright); color: var(--maroon-bright); }

.btn-white {
  background: var(--white); color: var(--maroon);
  padding: 0.85rem 1.9rem; border: none; border-radius: 2px;
  font-family: "DM Sans", sans-serif; font-size: 0.88rem; font-weight: 500;
  cursor: pointer; text-decoration: none; letter-spacing: 0.04em;
  transition: background 0.2s; display: inline-block;
}
.btn-white:hover { background: var(--pale); color: var(--maroon); }

/* ===== DIVIDER ===== */
.be-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,26,26,0.4), transparent);
  margin: 0 3rem;
}

/* ===== TAGLINE STRIP ===== */
.be-tagline-strip {
  background: var(--maroon); padding: 1.5rem 3rem;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.be-phrase {
  font-family: "Playfair Display", serif;
  font-size: 1rem; font-weight: 400; font-style: italic;
  color: rgba(255,255,255,0.9); letter-spacing: 0.04em;
}
.be-phrase strong { font-style: normal; font-weight: 700; color: var(--white); }
.be-phrase-dot { color: rgba(255,255,255,0.3); font-size: 1.2rem; }

/* ===== SECTIONS ===== */
.be-section { padding: 5.5rem 3rem; }
.be-section-dark { background: var(--charcoal); }
.be-section-mid { background: linear-gradient(135deg, #101010 0%, var(--dark) 100%); }

.be-section-label {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--maroon-bright); margin-bottom: 0.65rem;
}
.be-section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 600;
  line-height: 1.2; color: var(--white); margin-bottom: 0.9rem;
}
.be-section-sub {
  font-size: 0.97rem; font-weight: 300; line-height: 1.75;
  color: var(--text-muted); max-width: 500px; margin-bottom: 3rem;
}

/* ===== SERVICES GRID ===== */
.be-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; border: 1px solid rgba(139,26,26,0.12);
}
.be-service-card {
  background: var(--dark); padding: 2.25rem 1.75rem;
  border: 1px solid rgba(139,26,26,0.08); transition: background 0.25s;
}
.be-service-card:hover { background: rgba(42,42,42,0.8); }
.be-service-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(139,26,26,0.14); border: 1px solid rgba(139,26,26,0.35);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; font-size: 1.1rem;
}
.be-service-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 0.65rem;
}
.be-service-card p { font-size: 0.85rem; font-weight: 300; line-height: 1.7; color: var(--light-grey); }

/* ===== WHY SECTION ===== */
.be-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.be-why-points { list-style: none; margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.be-why-point { display: flex; gap: 0.9rem; align-items: flex-start; }
.be-why-check {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  background: rgba(139,26,26,0.18); border: 1px solid var(--maroon-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: var(--maroon-bright); margin-top: 3px;
}
.be-why-point-text strong { display: block; font-size: 0.92rem; font-weight: 500; color: var(--white); margin-bottom: 0.15rem; }
.be-why-point-text span { font-size: 0.82rem; font-weight: 300; color: var(--light-grey); }

.be-testimonial {
  background: rgba(18,18,18,0.8); border: 1px solid rgba(139,26,26,0.18);
  padding: 2.25rem; position: relative; overflow: hidden;
}
.be-testimonial::before {
  content: '\201C'; position: absolute; top: -1rem; left: 1rem;
  font-family: "Playfair Display", serif; font-size: 9rem; font-weight: 700;
  color: rgba(139,26,26,0.1); line-height: 1;
}
.be-testimonial-text {
  font-family: "Playfair Display", serif; font-size: 1.05rem;
  font-weight: 400; font-style: italic; line-height: 1.8;
  color: var(--text-muted); margin-bottom: 1.4rem; position: relative; z-index: 1;
}
.be-testimonial-author { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maroon-bright); }
.be-testimonial-role { font-size: 0.75rem; font-weight: 300; color: var(--grey); margin-top: 0.12rem; }

/* ===== PROCESS ===== */
.be-process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; margin-top: 3rem;
}
.be-process-steps::before {
  content: ''; position: absolute;
  top: 27px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--maroon), transparent);
}
.be-step { text-align: center; padding: 0 1.25rem; position: relative; }
.be-step-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--charcoal); border: 2px solid var(--maroon);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  font-family: "Playfair Display", serif; font-size: 1.15rem; font-weight: 700;
  color: var(--maroon-bright); position: relative; z-index: 1;
}
.be-step h4 { font-size: 0.92rem; font-weight: 500; color: var(--white); margin-bottom: 0.45rem; }
.be-step p { font-size: 0.8rem; font-weight: 300; color: var(--light-grey); line-height: 1.6; }

/* ===== CTA SECTION ===== */
.be-cta {
  background: linear-gradient(135deg, #5a0f0f 0%, #2a0808 100%);
  border-top: 1px solid rgba(192,40,42,0.25);
  border-bottom: 1px solid rgba(192,40,42,0.25);
  text-align: center; padding: 4.5rem 3rem;
}
.be-cta p { font-size: 0.97rem; font-weight: 300; color: rgba(255,255,255,0.75); margin-bottom: 2.25rem; }
.be-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.be-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.be-contact-details { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.85rem; }
.be-contact-item {
  display: flex; align-items: flex-start; gap: 0.9rem;
  padding: 0.9rem 1rem; border: 1px solid rgba(139,26,26,0.12);
  background: rgba(30,30,30,0.5);
}
.be-contact-icon { color: var(--maroon-bright); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.be-contact-item strong {
  display: block; font-size: 0.75rem; color: var(--grey);
  margin-bottom: 0.12rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.07em;
}
.be-contact-item span { font-size: 0.92rem; color: var(--text-muted); }

/* ===== CONTACT FORM ===== */
.be-contact-form { display: flex; flex-direction: column; gap: 0.9rem; }
.be-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.be-form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.be-form-group label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--grey);
}
.be-form-group input,
.be-form-group select,
.be-form-group textarea {
  background: rgba(30,30,30,0.8); border: 1px solid rgba(139,26,26,0.18);
  color: var(--white); padding: 0.8rem 0.95rem;
  font-family: "DM Sans", sans-serif; font-size: 0.88rem; font-weight: 300;
  border-radius: 2px; outline: none; transition: border-color 0.2s; width: 100%;
}
.be-form-group input:focus,
.be-form-group select:focus,
.be-form-group textarea:focus { border-color: var(--maroon-mid); }
.be-form-group select option { background: var(--dark); color: var(--white); }
.be-form-group textarea { resize: vertical; min-height: 105px; }

/* ===== FOOTER ===== */
.be-footer {
  background: #0A0A0A; padding: 2.5rem 3rem;
  border-top: 1px solid rgba(139,26,26,0.18);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.be-footer-logo { display: flex; align-items: center; gap: 0.6rem; }
.be-footer-logo img { height: 36px; width: auto; object-fit: contain; opacity: 0.85; }
.be-footer-brand { font-family: "Playfair Display", serif; font-size: 1rem; font-weight: 700; color: var(--white); }
.be-footer-brand span { color: var(--maroon-bright); }
.be-footer-tagline { font-size: 0.6rem; color: var(--grey); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1px; }
.be-footer-links { display: flex; gap: 1.75rem; list-style: none; }
.be-footer-links a { font-size: 0.78rem; color: var(--grey); text-decoration: none; transition: color 0.2s; }
.be-footer-links a:hover { color: var(--maroon-bright); }
.be-footer-copy { font-size: 0.75rem; color: var(--grey); }

/* ===== ANIMATIONS ===== */
.be-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.be-reveal.visible { opacity: 1; transform: none; }

/* ===== WORDPRESS MENU OVERRIDE ===== */
.be-nav-menu .menu-item a { color: var(--text-muted); text-decoration: none; }
.be-nav-menu .menu-item a:hover { color: var(--maroon-bright); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .be-nav { padding: 0.9rem 1.5rem; }
  .be-nav-menu { gap: 1.5rem; }
  .be-hero { padding: 6rem 1.5rem 14rem; }
  .be-hero-stats { position: relative; right: auto; bottom: auto; flex-direction: row; flex-wrap: wrap; margin-top: 2rem; }
  .be-services-grid { grid-template-columns: 1fr 1fr; }
  .be-why-grid { grid-template-columns: 1fr; }
  .be-process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .be-process-steps::before { display: none; }
  .be-contact-grid { grid-template-columns: 1fr; }
  .be-footer { flex-direction: column; align-items: flex-start; }
  .be-section { padding: 4rem 1.5rem; }
  .be-divider { margin: 0 1.5rem; }
  .be-tagline-strip { gap: 1.5rem; padding: 1.25rem 1.5rem; }
}

@media (max-width: 600px) {
  .be-services-grid { grid-template-columns: 1fr; }
  .be-process-steps { grid-template-columns: 1fr; }
  .be-form-row { grid-template-columns: 1fr; }
  .be-nav-menu { display: none; }
}
