:root {
  --ink: #293133;
  --muted: #91ADB7;
  --brand: #469DB3;
  --brand-2: #1F2F33;
  --accent: #70D1CF;
  --soft: #B9DBE3;
  --soft-2: #D3E8ED;
  --line: #469DB3;
  --white: #fff;
  --shadow: 0 18px 45px rgba(70, 84, 28, .14);
  --radius: 18px;
}

/* Color palette corrected to match the live LNC Firm site: #E8EBE0 and #46541C as the primary colors. */
* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft-2);
  line-height: 1.6
}

a {
  color: var(--brand);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto
}

.topbar {
  background: var(--brand-2);
  color: #fff;
  font-size: .92rem
}

.topbar .container {
  display: flex;
  gap: 0px;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  flex-wrap: wrap
}
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.topbar a {
  color: #fff
}
.cardoptions{
  display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 20;
    /* background-image: linear-gradient(rgba(232, 235, 224, .45), rgba(232, 235, 224, .65)), url(../../images/background.webp);
    background-size: cover;
    background-position: 50% 70%; */
    background-color: var(--brand);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    gap: 22px;
}

.logo {
  display: flex;
    align-items: flex-start;
    gap: 0px;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: .02em;
    flex-direction: column;
    margin-bottom: -10px;
}

.logo:hover {
    text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #46541C, #6F7D37);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--white);
  color: var(--brand);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700
}

.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end
}

.main-nav a {
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--soft);
  color: var(--brand);
  text-decoration: none
}

.hero {
  /* background: radial-gradient(circle at 20% 10%, rgba(70, 84, 28, .16), transparent 34%), linear-gradient(135deg, #E8EBE0, var(--soft-2) 55%, #DDE3CE); */
  padding: 40px 0px;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(270deg,rgba(70,157, 179, .65), rgba(165,209,220, .95)), url(../../images/hero-background.webp);
   background-size: cover;
    background-position: 50% 70%;
  
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 42px;
  align-items: center
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 1.02;
  margin: 12px 0 18px;
  letter-spacing: -.04em
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.12;
  margin: 0 0 15px;
  letter-spacing: -.025em
}

h3 {
  font-size: 1.28rem;
  margin: 0 0 8px
}

p {
  margin: 0 0 15px
}

.lead {
  font-size: 1.18rem;
  color: var(--ink);
  max-width: 780px
}

.muted {
  color: var(--muted)
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer
}

.btn-primary {
  background: var(--brand);
  color: #fff
}

.btn-primary:hover {
  background: var(--brand-2);
  text-decoration: none
}

.btn-secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--line)
}

.btn-secondary:hover {
  background: var(--brand-2);
  text-decoration: none;
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: #202314
}

.btn-accent:hover {
  text-decoration: none;
  filter: brightness(.96)
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px
}

.hero-card ul,
.check-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none
}

.hero-card li,
.check-list li {
  position: relative;
  padding-left: 29px;
  margin: 10px 0
}

.hero-card li:before,
.check-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 900
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px
}

.stat strong {
  font-size: 1.6rem;
  display: block;
  color: var(--brand)
}

.section {
  padding: 66px 0
}

.section-soft {
  background: var(--soft)
}

.section-dark {
  background: var(--ink);
  color: #fff
}

.section-dark .muted {
  color: #c7d0dc
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px
}

.section-head p {
  max-width: 640px
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.card {
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(70, 84, 28, .08)
}

.section-soft .card {
  background: #fff
}

.section-dark .card {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: #fff
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(70, 84, 28, .11);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 14px
}

.section-dark .icon {
  background: rgba(255, 255, 255, .14);
  color: #fff
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow)
}

.kicker {
  font-size: .9rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--brand-2)
}

.callout {
  /* background: linear-gradient(135deg, #46541C, #6F7D37); */
  color: #fff;
  border-radius: 24px;
  padding: 34px
}

.callout h2 {
  color: var(--brand-2)
}

.callout .btn-secondary {
  border-color: rgba(255, 255, 255, .45)
}

.breadcrumb {
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 16px
}

.breadcrumb a {
  color: var(--muted)
}

.page-hero {
  padding: 48px 0;
  background: linear-gradient(135deg, #E8EBE0, var(--soft-2));
  border-bottom: 1px solid var(--line);
  
}

.page-hero-nurse {
  padding: 48px 0;
    border-bottom: 1px solid var(--line);
    
    background-position-x: 80%;
    background-position-y: top;
  
    
      background-repeat: no-repeat;
    background-size: cover;
  background-image: linear-gradient(300deg ,rgba(69,155,176, .55), rgba(69,155,176, .85)), url(../../images/background3.webp)
  
}

.page-hero-attorney {
  padding: 48px 0;
    border-bottom: 1px solid var(--line);
    
    background-position-x: 80%;
    background-position-y: top;
  
    
      background-repeat: no-repeat;
    background-size: cover;
  background-image: linear-gradient(120deg ,rgba(255,255,255, 1), rgba(69,155,176, .55)), url(../../images/background4.webp)
  
}

.page-hero-veronica {
  padding: 48px 0;
    border-bottom: 1px solid var(--line);
    
    background-position-x: 80%;
    background-position-y: top;
  min-height: 350px;
    
      background-repeat: no-repeat;
    background-size: cover;
  background-image: linear-gradient(300deg ,rgba(69,155,176, .0), rgba(32,47,51, .95)), url(../../images/Veronica_Castellana_Legal_Nurse_Consultant.webp)
  
}
.veronicaherotitle{
  color: #fff;
  text-shadow: 0px 0px 20px #293133;
  width:100%
}
.veronicherowrap{
  width: 70%;
}
.desktopnowrap{
  white-space: nowrap;
}
.nursetitlewrap{
  width:80%
}
.page-hero {
     padding: 48px 0;
    background: linear-gradient(135deg, #E8EBE0, var(--soft-2));
    border-bottom: 1px solid var(--line);
    
    background-position-x: right;
    background-position-y: center;
  
    background-image: linear-gradient(rgba(255,255,255, .45), rgba(255,255,255, .75)), url(../../images/background.webp);
      background-repeat: no-repeat;
    background-size: cover;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.7rem)
}

.attorneherowrap{
  width: 60%;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px
}

.faq summary {
  font-weight: 600;
  cursor: pointer
}

.faq p {
  margin-top: 12px
}

.form {
  display: grid;
  gap: 14px
}

.form label {
  font-weight: 600
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit
}

.form textarea {
  min-height: 140px
}

.notice {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #E8EBE0;
  color: #46541C;
  font-weight: 700
}
.logo img{
  width: 100%;
}
.footer {
  background: var(--brand-2);
  color: #E8EBE0;
  padding: 44px 0 22px
}

.footer a {
  color: #fff
}
.footer-grid .muted{
  max-width: 320px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 28px
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.footer li {
  margin: 8px 0
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .18);
  margin-top: 28px;
  padding-top: 18px;
  color: #E8EBE0;
  font-size: .9rem
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line)
}

.table th,
.table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line)
}

.table th {
  background: #459BB0;
  color: #fff
}

.table tr:last-child td {
  border-bottom: 0
}
.contactwrap{
  display: flex;
    flex-direction: row;
    gap: 20px;
}
@media(max-width:970px) {
  .main-nav {
    gap:0px
    
  }
  .main-nav a {
    font-size:0.85rem
    
  }
}
@media(max-width:900px) {

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .footer-grid {
    grid-template-columns: 1fr
  }
 
  .section-head {
    display: block
  }

  .stats {
    grid-template-columns: 1fr
  }

  .nav-toggle {
    display: inline-flex;
    margin-top: 10px;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 110px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    
  }

  .main-nav.open {
    display: flex
  }

  .main-nav a {
    display: block;
    
  }

  .hero {
    padding-top: 44px
  }
  .nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 0;
    gap: 22px;
}
span.logosub {
    letter-spacing: -0.1px;
}
.hero{
  background-size: 200%;
    background-position: 80% 100%;
}
}

@media(max-width:767px) {
.veronicaherotitle{
  
  width:60%
}
.contactwrap{
  display: flex;
  flex-direction: column-reverse;
}
.hero{
  background-size: 250%;
    background-position: 80% 100%;
}

}

@media(max-width:450px) {
 .desktopnowrap{
  white-space: unset;
}
.hero{
  background-size: 400%;
    background-position: 80% 100%;
}


}

@media(max-width:412px) {
 span.logosub {
        letter-spacing: 0px;
        font-weight: normal;
    }


}

@media(max-width:360px) {
 span.logosub {
        letter-spacing: -1.2px;
        
    }


}