/* =============================================
   MARTINO LAW — Website Styles
   Color Palette:
     Navy:       #1B2A4A
     Dark Navy:  #0F1B2D
     Green:      #5EA51D
     Light Green:#6FBC22
     White:      #FFFFFF
     Light Gray: #F4F6F8
     Mid Gray:   #E2E6EA
     Text Dark:  #2C3E50
     Text Light: #64748B
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Skip to main content link (accessibility) --- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  background: #1B2A4A;
  color: #FFFFFF;
  padding: 10px 18px;
  z-index: 10000;
  text-decoration: none;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 6px 0;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #6FBC22;
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2C3E50;
  line-height: 1.7;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1B2A4A;
}

a {
  color: #5EA51D;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #4A8B15;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Navigation --- */
.header {
  background: #FFFFFF;
  border-bottom: 3px solid #5EA51D;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(27, 42, 74, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  flex-shrink: 0;
}

.logo a {
  display: block;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  color: #1B2A4A;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  background: #F4F6F8;
  color: #5EA51D;
}

.nav-desktop .nav-cta {
  background: #5EA51D;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-desktop .nav-cta:hover {
  background: #4A8B15;
  color: #FFFFFF;
}

/* Mobile menu toggle */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #1B2A4A;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile navigation (hidden by default) */
.nav-mobile {
  display: none;
  background: #FFFFFF;
  padding: 16px 24px;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.12);
  border-top: 1px solid #E2E6EA;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  text-align: center;
}

.nav-mobile a {
  display: block;
  color: #1B2A4A;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: #F4F6F8;
  color: #5EA51D;
}

.nav-mobile .nav-cta {
  background: #5EA51D;
  color: #FFFFFF;
  margin-top: 8px;
}

.nav-mobile .nav-cta:hover {
  background: #4A8B15;
  color: #FFFFFF;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #1B2A4A 0%, #0F1B2D 60%, #1B2A4A 100%);
  color: #FFFFFF;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(94, 165, 29, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.6rem;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero .hero-accent {
  color: #6FBC22;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero .btn {
  display: inline-block;
  background: #5EA51D;
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.hero .btn:hover {
  background: #6FBC22;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(94, 165, 29, 0.35);
  color: #FFFFFF;
}

/* Green wave divider */
.wave-divider {
  height: 60px;
  background: #5EA51D;
  clip-path: polygon(0 0, 100% 40%, 100% 100%, 0 100%);
  margin-top: -1px;
}

.wave-divider-reverse {
  height: 60px;
  background: #5EA51D;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);
  margin-bottom: -1px;
}

/* --- Section Styles --- */
.section {
  padding: 70px 0;
}

.section-light {
  background: #F4F6F8;
}

.section-navy {
  background: #1B2A4A;
  color: #FFFFFF;
}

.section-navy h2,
.section-navy h3 {
  color: #FFFFFF;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: #64748B;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-navy .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* --- Cards / Service Boxes --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(27, 42, 74, 0.06);
  border-top: 4px solid #5EA51D;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: #F4F6F8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: #5EA51D;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.65;
}

/* Service cards as links */
a.service-card {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

a.service-card h3 {
  color: #1B2A4A;
}

a.service-card:hover h3 {
  color: #5EA51D;
}

/* Scroll offset for anchor targets (sticky header clearance) */
.practice-detail[id] {
  scroll-margin-top: 100px;
}

/* --- Section Values (Home page) --- */
.section-values {
  padding: 70px 0;
  background: #FFFFFF;
  border-top: 1px solid #E2E6EA;
}

/* --- About / Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-text h2 {
  font-size: 1.85rem;
  margin-bottom: 20px;
}

.two-col-text p {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #445566;
}

.two-col-image {
  position: relative;
  max-width: 320px;
}

.two-col-image img {
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.12);
  width: 100%;
  height: auto;
}

.two-col-image::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 3px solid #5EA51D;
  border-radius: 10px;
  z-index: -1;
}

/* --- Value Props / Why Work With Me --- */
.values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.value-item {
  text-align: center;
  padding: 24px;
}

.value-item .value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(94, 165, 29, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item .value-icon svg {
  width: 30px;
  height: 30px;
  stroke: #5EA51D;
  fill: none;
  stroke-width: 2;
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.65;
}

/* --- Blog / Substack Section --- */
.blog-highlight {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 2px 16px rgba(27, 42, 74, 0.06);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.blog-highlight h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.blog-highlight p {
  color: #64748B;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.btn-outline {
  display: inline-block;
  border: 2px solid #5EA51D;
  color: #5EA51D;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #5EA51D;
  color: #FFFFFF;
}

.btn {
  display: inline-block;
  background: #5EA51D;
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: #6FBC22;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(94, 165, 29, 0.35);
  color: #FFFFFF;
}

.btn-white {
  background: #FFFFFF;
  color: #1B2A4A;
}

.btn-white:hover {
  background: #F4F6F8;
  color: #1B2A4A;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1B2A4A;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E2E6EA;
  border-radius: 6px;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #2C3E50;
  transition: border-color 0.3s ease;
  background: #FFFFFF;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #5EA51D;
  box-shadow: 0 0 0 3px rgba(94, 165, 29, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

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

.form-disclaimer {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.5;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E2E6EA;
}

/* --- Contact Info Cards --- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.contact-info-card {
  text-align: center;
  padding: 32px 20px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(27, 42, 74, 0.06);
}

.contact-info-card svg {
  width: 32px;
  height: 32px;
  stroke: #5EA51D;
  fill: none;
  stroke-width: 2;
  margin-bottom: 16px;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #1B2A4A;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.5;
}

.contact-info-card a {
  color: #5EA51D;
  font-weight: 600;
}

/* --- Footer --- */
.footer {
  background: #0F1B2D;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
  color: #6FBC22;
}

.footer-col .footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: 800px;
  margin: 12px auto 0;
  line-height: 1.5;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, #1B2A4A 0%, #0F1B2D 100%);
  color: #FFFFFF;
  padding: 50px 0;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(94, 165, 29, 0.1) 0%, transparent 70%);
}

.page-hero h1 {
  color: #FFFFFF;
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 12px auto 0;
  position: relative;
  z-index: 1;
}

/* --- Appointment Badge --- */
.appointment-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(94, 165, 29, 0.12);
  border: 1px solid rgba(94, 165, 29, 0.25);
  border-radius: 50px;
  padding: 8px 20px;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6FBC22;
  margin-bottom: 20px;
}

.appointment-badge svg {
  width: 16px;
  height: 16px;
  stroke: #6FBC22;
  fill: none;
  stroke-width: 2;
}

/* --- Blog Posts Grid --- */
.blog-intro {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.blog-intro p {
  font-size: 1.05rem;
  color: #64748B;
}

.substack-cta {
  background: linear-gradient(135deg, #1B2A4A 0%, #0F1B2D 100%);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  color: #FFFFFF;
  max-width: 700px;
  margin: 0 auto;
}

.substack-cta h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.substack-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.substack-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.substack-icon svg {
  width: 24px;
  height: 24px;
  fill: #6FBC22;
}

/* --- Practice Details (services page) --- */
.practice-detail {
  padding: 40px 0;
  border-bottom: 1px solid #E2E6EA;
}

.practice-detail:last-child {
  border-bottom: none;
}

.practice-detail h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.practice-detail h3 svg {
  width: 28px;
  height: 28px;
  stroke: #5EA51D;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.practice-detail p {
  font-size: 1.02rem;
  color: #445566;
  margin-bottom: 12px;
  max-width: 800px;
}

.practice-detail ul {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.practice-detail li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: #445566;
  font-size: 0.98rem;
}

.practice-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: #5EA51D;
  border-radius: 50%;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 56px 24px;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 28px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 56px 0 64px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .values-list {
    grid-template-columns: 1fr;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Mobile navigation */
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .two-col-image {
    order: -1;
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .header-content {
    padding: 10px 0;
  }
  .container {
    padding: 0 16px;
  }
}

/* --- Additional Utility Styles --- */
.hero-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 12px auto 0;
  position: relative;
  z-index: 1;
}

.main-content {
  padding: 70px 0;
}

.section-light h2,
.main-content h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer .footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #6FBC22;
}

.disclaimer {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Contact page specific */
.contact-card {
  text-align: center;
  padding: 32px 20px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(27, 42, 74, 0.06);
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.6;
}

.contact-card a {
  color: #5EA51D;
  font-weight: 600;
}

.contact-card-icon {
  margin-bottom: 16px;
}

.contact-card-icon svg {
  width: 48px;
  height: 48px;
  margin: 0 auto;
}

.contact-info-section {
  padding: 60px 0 20px;
}

.contact-form-section {
  padding: 40px 0 70px;
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 12px;
}

.contact-intro {
  text-align: center;
  color: #64748B;
  max-width: 600px;
  margin: 0 auto 36px;
}

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

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

.form-row {
  margin-bottom: 0;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

fieldset legend {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1B2A4A;
  margin-bottom: 10px;
}

.radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
}

.radio-option input[type="radio"] {
  width: auto;
  accent-color: #5EA51D;
}

.radio-option label {
  font-weight: 400;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-size: 1.05rem;
}

/* What to Expect */
.what-to-expect {
  padding: 60px 0;
}

.what-to-expect h2 {
  text-align: center;
  margin-bottom: 36px;
}

.expectations-list {
  max-width: 650px;
  margin: 0 auto;
  list-style: none;
  counter-reset: step;
  padding: 0;
}

.expectations-list li {
  counter-increment: step;
  padding: 20px 0 20px 56px;
  position: relative;
  border-bottom: 1px solid #E2E6EA;
}

.expectations-list li:last-child {
  border-bottom: none;
}

.expectations-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 20px;
  width: 36px;
  height: 36px;
  background: #5EA51D;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.expectations-list h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.expectations-list p {
  color: #64748B;
  font-size: 0.95rem;
}

.expectations-note {
  text-align: center;
  color: #64748B;
  margin-top: 28px;
  font-style: italic;
}

.closing-cta {
  background: #1B2A4A;
  color: #FFFFFF;
  text-align: center;
  padding: 56px 24px;
}

.closing-cta h2 {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.closing-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

/* Blog page substack section as standalone */
section.substack-cta {
  padding: 70px 0;
}

.substack-content {
  background: linear-gradient(135deg, #1B2A4A 0%, #0F1B2D 100%);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  color: #FFFFFF;
  max-width: 700px;
  margin: 0 auto;
}

.substack-content h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.substack-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: #F4F6F8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: #5EA51D;
}

/* --- Values With Image (Home page two-col layout) --- */
.values-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.values-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.value-item-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-item-row .value-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(94, 165, 29, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.value-item-row .value-icon svg {
  width: 24px;
  height: 24px;
  stroke: #5EA51D;
  fill: none;
  stroke-width: 2;
}

.value-item-row h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.value-item-row p {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.65;
}

.values-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.12);
}

.values-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .values-with-image {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .values-image {
    order: -1;
    max-height: 280px;
  }
}

/* --- Image Banner (full-width photo strip) --- */
.image-banner {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  position: relative;
}

.image-banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

@media (max-width: 768px) {
  .image-banner {
    max-height: 200px;
  }
  .image-banner img {
    height: 200px;
  }
}
