/* CoranWoodmass.com — Main Stylesheet */
/* Font: Raleway via Google Fonts (loaded in HTML head) */

:root {
  --primary: #37ca37;
  --primary-dark: #2ba82b;
  --secondary: #188bf6;
  --dark: #000321;
  --dark-blue: #1b2438;
  --light-bg: #F6F6FF;
  --muted: #565A7C;
  --white: #ffffff;
  --black: #000000;
  --gold: #c9a84c;
  --gray: #cbd5e0;
  --smoke: #f5f5f5;
  --font: 'Raleway', Arial, sans-serif;
  --max-width: 1100px;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; min-height: 100%; }

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-footer { margin-top: auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Navigation ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo img {
  height: 40px;
  width: auto;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.site-nav a:hover { color: var(--primary); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  padding: 5px;
}

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--gray);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Hero Section ── */
.hero {
  padding: 60px 0;
  background: var(--light-bg);
  border-bottom: 2px solid var(--dark);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text { flex: 1; }
.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  line-height: 1.2;
}
.hero-text p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.hero-text .mission {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
}

.hero-image {
  flex: 0 0 280px;
}
.hero-image img {
  width: 280px;
  border-radius: var(--radius);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

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

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover { background: #1276d4; }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #b8973f; }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* ── PE Offer Trap Inline Section ── */
.peot-section {
  padding: 60px 0;
  background: var(--dark);
  color: var(--white);
}

.peot-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 800px;
}

.peot-content { flex: 1; }
.peot-content .eyebrow {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.peot-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.peot-content ul {
  list-style: none;
  margin-bottom: 25px;
}
.peot-content ul li {
  padding: 6px 0;
  font-weight: 600;
  font-size: 1.05rem;
}
.peot-content ul li::before {
  content: "✓ ";
  color: var(--gold);
  font-weight: 700;
}
.peot-content .disclaimer {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 10px;
}
.peot-image {
  flex: 0 0 300px;
}
.peot-image img {
  width: 300px;
}

/* ── Testimonials ── */
.testimonials {
  padding: 60px 0;
  background: var(--light-bg);
}

.testimonials h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  border: 1px solid var(--gray);
}

.testimonial-card .video-wrap {
  margin-bottom: 15px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
}

.testimonial-card video {
  width: 100%;
  display: block;
}

.testimonial-card h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.testimonial-card .highlight {
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.5;
}

/* ── Contact Form ── */
.contact-section { padding: 60px 0; }

.contact-section h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.contact-section h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.contact-section p { margin-bottom: 15px; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin: 25px 0 10px;
}
.contact-info ul {
  list-style: none;
  margin-bottom: 15px;
}
.contact-info ul li {
  padding: 5px 0;
  color: var(--muted);
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(55, 202, 55, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-status {
  padding: 12px;
  border-radius: var(--radius);
  margin-top: 15px;
  display: none;
  font-weight: 600;
}
.form-status.success { display: block; background: #e6f9e6; color: #1a7a1a; }
.form-status.error { display: block; background: #fde8e8; color: #c53030; }

/* ── Legal Pages ── */
.legal-page {
  padding: 60px 0;
}
.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 10px;
}
.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 8px;
}
.legal-page p, .legal-page li {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.legal-page ul, .legal-page ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

/* ── PEOT Email Confirm ── */
.confirm-page {
  padding: 80px 0;
  text-align: center;
}
.confirm-page h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.confirm-page p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.confirm-page .pe-graphic {
  max-width: 350px;
  margin: 30px auto 0;
}

/* ── FBA Broker Page ── */
.fba-hero {
  padding: 50px 0;
  text-align: center;
  background: var(--light-bg);
}
.fba-hero img {
  max-width: 500px;
  margin: 0 auto 30px;
}
.fba-hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.fba-hero h2 {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 30px;
}

.fba-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.fba-option {
  background: var(--white);
  border: 2px solid var(--dark);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.fba-option h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.fba-option p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.fba-story {
  padding: 50px 0;
  max-width: 700px;
  margin: 0 auto;
}
.fba-story h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.fba-story p {
  color: var(--muted);
  margin-bottom: 15px;
}

.fba-training {
  padding: 50px 0;
  background: var(--light-bg);
}
.fba-training > .container > h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 35px;
}

.training-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.training-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray);
  padding: 25px;
  text-align: center;
}
.training-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.training-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.training-card .btn { font-size: 0.9rem; padding: 10px 20px; }
.btn-disabled {
  background: var(--gray);
  color: var(--muted);
  cursor: not-allowed;
}
.btn-disabled:hover { transform: none; }

/* ── Popup / Modal ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.popup-overlay.active { display: flex; }

.popup-bento-wrap {
  position: relative;
  width: 90%;
  max-width: 640px;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #6b7280;
  line-height: 1;
  z-index: 10;
}
.popup-close:hover { color: #111827; }

/* ── Bento Form (PE Offer Trap popup) ── */
#bento-formkit-epvduvqcts {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 38px 30px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-align: center;
}
.bento-formkit-headline {
  margin: 0 0 10px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.1;
}
.bento-formkit-subheader {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 18px;
}
#bento-formkit-epvduvqcts .form-inputs-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#bento-formkit-epvduvqcts input[type="text"],
#bento-formkit-epvduvqcts input[type="email"],
#bento-formkit-epvduvqcts input[type="password"],
#bento-formkit-epvduvqcts input[type="number"],
#bento-formkit-epvduvqcts input[type="date"],
#bento-formkit-epvduvqcts input[type="url"],
#bento-formkit-epvduvqcts input[type="tel"],
#bento-formkit-epvduvqcts select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
}
#bento-formkit-epvduvqcts select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%), linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
#bento-formkit-epvduvqcts input:focus,
#bento-formkit-epvduvqcts select:focus {
  outline: none;
  border-color: #C9A84C;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}
#bento-formkit-epvduvqcts button {
  width: 100%;
  border-radius: 8px;
  border: none;
  background: #C9A84C;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  cursor: pointer;
}
#bento-formkit-epvduvqcts button:hover {
  filter: brightness(0.93);
}
.bento-formkit-disclosure {
  margin-top: 14px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}
.bento-formkit-disclosure a { color: var(--secondary); }

/* ── 404 Page ── */
.page-404 {
  padding: 100px 0;
  text-align: center;
}
.page-404 h1 { font-size: 4rem; margin-bottom: 10px; }
.page-404 p { color: var(--muted); font-size: 1.2rem; margin-bottom: 25px; }

/* ── Section Utility ── */
.section { padding: 60px 0; }
.section-alt { background: var(--light-bg); }
.text-center { text-align: center; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray);
    gap: 15px;
  }
  .site-nav.open { display: flex; }

  .hero .container { flex-direction: column-reverse; text-align: center; }
  .hero-image { flex: none; }
  .hero-image img { width: 200px; margin: 0 auto; }
  .hero-text h1 { font-size: 1.7rem; }

  .peot-section .container { flex-direction: column; text-align: center; }
  .peot-image { flex: none; }
  .peot-image img { width: 250px; margin: 0 auto; }

  .testimonial-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .fba-options { grid-template-columns: 1fr; }
  .training-cards { grid-template-columns: 1fr; }

  .fba-hero img { max-width: 300px; }
}
