/* =============================================
   The Palm Beach Fixer — Blog Styles
   Matches V2 brand: Navy, Gold, Champagne
   Fonts: Cinzel, Montserrat, Inter
   ============================================= */

:root {
  --navy:             #0B162A;
  --navy-light:       #142240;
  --navy-lighter:     #1C2E52;
  --gold:             #D4AF37;
  --gold-alt:         #C5A059;
  --gold-dark:        #A8882B;
  --gold-light:       #E8CC6E;
  --champagne:        #F5F5F0;
  --champagne-dim:    #E8E8E0;
  --white:            #FFFFFF;

  --gold-gradient-btn: linear-gradient(135deg, #8B7023 0%, #C5A059 30%, #D4AF37 55%, #E8CC6E 80%, #D4AF37 100%);

  --font-heading:  'Cinzel', Georgia, serif;
  --font-subhead:  'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max:  800px;
  --radius:     10px;
  --radius-sm:  6px;
  --shadow:     0 2px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg:  0 8px 32px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--champagne);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Header --- */
.blog-header {
  background: var(--navy-light);
  border-bottom: 2px solid var(--gold-dark);
  padding: 1rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.blog-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-header .logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-header .header-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.blog-header .header-brand {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.blog-header .back-link {
  font-family: var(--font-subhead);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.blog-header .back-link:hover {
  color: var(--gold-light);
}

/* --- Article Container --- */
.blog-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* --- Article Header --- */
.article-meta {
  font-family: var(--font-subhead);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.article-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--champagne-dim);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.gold-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 2rem;
  border-radius: 2px;
}

/* --- Author Block --- */
.author-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--navy-lighter);
}

.author-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-dark);
}

.author-info {
  font-size: 0.9rem;
}

.author-name {
  font-family: var(--font-subhead);
  font-weight: 700;
  color: var(--white);
}

.author-role {
  color: var(--gold-alt);
  font-size: 0.82rem;
}

/* --- Article Body --- */
.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.article-body h3 {
  font-family: var(--font-subhead);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-body p {
  margin-bottom: 1.25rem;
  color: var(--champagne);
}

.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--champagne);
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: var(--white);
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--navy-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--champagne-dim);
}

/* --- Pricing Callout --- */
.price-callout {
  background: var(--navy-lighter);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.price-callout .price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}

.price-callout .price-label {
  font-family: var(--font-subhead);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--champagne-dim);
}

/* --- CTA Section --- */
.blog-cta {
  background: var(--navy-light);
  border: 2px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  text-align: center;
}

.blog-cta h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.blog-cta p {
  color: var(--champagne-dim);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-subhead);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold-gradient-btn);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
}

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

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* --- Footer --- */
.blog-footer {
  border-top: 1px solid var(--navy-lighter);
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--champagne-dim);
}

.blog-footer a {
  color: var(--gold);
}

/* --- Sticky CTA Bar --- */
.sticky-cta-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--gold-gradient-btn);
  padding: 0.6rem 1.25rem;
  text-align: center;
  font-family: var(--font-subhead);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.4);
}

.sticky-cta-bar a {
  color: var(--navy);
  text-decoration: underline;
  font-weight: 800;
}

.sticky-cta-bar a:hover {
  color: var(--navy-light);
}

.sticky-cta-bar .cta-sep {
  margin: 0 0.5rem;
  opacity: 0.6;
}

/* Push header down to account for sticky CTA bar */
.blog-header {
  top: 38px;
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  background: var(--navy-lighter);
  border-radius: var(--radius);
  border: 1px solid var(--gold-dark);
  font-family: var(--font-subhead);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-align: center;
}

.trust-bar span {
  white-space: nowrap;
}

/* --- Inline Lead Capture Form --- */
.inline-lead-form {
  background: var(--navy-light);
  border: 2px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin: 2.5rem 0;
}

.inline-lead-form h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  text-align: center;
}

.inline-lead-form .form-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--champagne-dim);
  text-align: center;
  margin-bottom: 1.5rem;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lead-form-grid .form-group {
  display: flex;
  flex-direction: column;
}

.lead-form-grid .form-group.full-width {
  grid-column: 1 / -1;
}

.lead-form-grid label {
  font-family: var(--font-subhead);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.lead-form-grid input,
.lead-form-grid select,
.lead-form-grid textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--navy-lighter);
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--champagne);
  outline: none;
  transition: border-color 0.2s;
}

.lead-form-grid input:focus,
.lead-form-grid select:focus,
.lead-form-grid textarea:focus {
  border-color: var(--gold);
}

.lead-form-grid textarea {
  min-height: 80px;
  resize: vertical;
}

.lead-form-grid select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4AF37' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.lead-form-grid select option {
  background: var(--navy);
  color: var(--champagne);
}

.inline-lead-form .btn-submit {
  display: block;
  width: 100%;
  font-family: var(--font-subhead);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient-btn);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.inline-lead-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
}

.inline-lead-form .form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.inline-lead-form .form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.inline-lead-form .form-success p {
  color: var(--champagne-dim);
  font-size: 0.95rem;
}

/* --- Related Services --- */
.related-services {
  margin: 2.5rem 0;
}

.related-services h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  text-align: center;
}

.related-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.related-card {
  background: var(--navy-lighter);
  border: 1px solid var(--navy-lighter);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.related-card .card-tag {
  font-family: var(--font-subhead);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.related-card .card-title {
  font-family: var(--font-subhead);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.related-card .card-desc {
  font-size: 0.82rem;
  color: var(--champagne-dim);
  line-height: 1.5;
  flex-grow: 1;
}

.related-card .card-link {
  font-family: var(--font-subhead);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.75rem;
  display: inline-block;
}

/* --- Before You Go Section --- */
.before-you-go {
  background: var(--navy-lighter);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 2rem;
  margin: 2.5rem 0 0;
  text-align: center;
}

.before-you-go h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.before-you-go p {
  color: var(--champagne-dim);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.65;
}

.before-you-go a {
  color: var(--gold);
  font-weight: 600;
}

/* --- See All Services Link --- */
.see-all-services {
  display: block;
  text-align: center;
  margin: 2rem 0 0;
  font-family: var(--font-subhead);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.see-all-services:hover {
  color: var(--gold-light);
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .blog-container {
    padding: 1.5rem 1rem 3rem;
  }

  .blog-cta {
    padding: 2rem 1.25rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .blog-header .header-brand {
    font-size: 0.95rem;
  }

  .author-block {
    flex-direction: column;
    text-align: center;
  }

  .sticky-cta-bar {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }

  .blog-header {
    top: 34px;
  }

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

  .trust-bar {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .related-cards {
    grid-template-columns: 1fr;
  }

  .inline-lead-form {
    padding: 1.75rem 1.25rem;
  }

  .before-you-go {
    padding: 1.5rem 1.25rem;
  }
}
