:root {
  --navy: #123b6b;
  --navy-deep: #092849;
  --slate: #1e4e7d;
  --gold: #285786;
  --gold-light: #8fb2d5;
  --cream: #f1f5f9;
  --white: #fff;
  --text: #1d2d40;
  --text-muted: #526579;
  --border: #d8e1eb;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--sans); color: var(--text); line-height: 1.68; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.container { width: min(1140px, 100% - 48px); margin: 0 auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 14px; background: var(--white); color: var(--navy); }
.skip-link:focus { top: 12px; }
.top-bar { background: var(--navy-deep); color: #d1d8e0; font-size: .8rem; padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.top-link, .text-link { color: var(--gold); text-decoration: none; font-weight: 600; }
.top-link:hover, .text-link:hover, .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; flex: 0 0 auto; }
.brand-name { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; letter-spacing: .12em; color: var(--navy); line-height: 1.05; }
.brand-name.light { color: var(--white); }
.brand-sub { font-size: .65rem; text-transform: uppercase; letter-spacing: .19em; color: var(--gold); font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); }
.main-nav a:not(.btn) { text-decoration: none; color: var(--text); font-size: .88rem; font-weight: 600; transition: color .2s; }
.main-nav a:not(.btn):hover { color: var(--gold); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: transparent; border: 1px solid var(--border); border-radius: 3px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; font-size: .9rem; line-height: 1.35; font-weight: 700; text-decoration: none; border-radius: 3px; transition: background .2s, color .2s, border-color .2s; cursor: pointer; border: 1px solid transparent; text-align: center; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--slate); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #987338; }
.btn-outline-sm { min-height: 42px; padding: 9px 16px; border: 1px solid var(--navy); color: var(--navy); font-size: .83rem; }
.btn-outline-sm:hover { background: var(--navy); color: var(--white); }
.full-width { width: 100%; }
.hero { background: linear-gradient(125deg, #f8f7f3 0%, #eef1f4 100%); padding: clamp(64px, 8vw, 100px) 0; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .73rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.hero h1 { max-width: 760px; font-family: var(--serif); font-size: clamp(2.7rem, 5.1vw, 4.35rem); line-height: 1.02; color: var(--navy); font-weight: 700; letter-spacing: -.015em; margin-bottom: 22px; }
.hero-lead { font-size: 1.04rem; color: var(--text-muted); margin-bottom: 30px; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 42px; }
.trust-metrics { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); padding-top: 22px; border-top: 1px solid #d8dee6; }
.metric { min-width: 0; }
.metric strong { display: block; font-family: var(--serif); font-size: 1.48rem; color: var(--navy); line-height: 1.12; }
.metric span { display: block; font-size: .75rem; color: var(--text-muted); line-height: 1.4; }
.metric-divider { width: 1px; height: 38px; flex: 0 0 1px; background: #d0d7df; }
.hero-card { background: var(--navy); color: var(--white); padding: clamp(26px, 3.5vw, 38px); border-radius: 4px; box-shadow: 0 22px 48px rgba(15,28,46,.14); }
.card-accent { height: 4px; width: 54px; background: var(--gold); margin-bottom: 22px; }
.hero-card .eyebrow { margin-bottom: 8px; }
.gold { color: var(--gold-light); }
.hero-card h2 { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin-bottom: 12px; }
.hero-card > p:not(.eyebrow):not(.disclaimer-micro) { color: #cbd5e1; font-size: .91rem; margin-bottom: 20px; }
.checklist { list-style: none; margin-bottom: 26px; }
.checklist li { padding-left: 23px; position: relative; margin-bottom: 10px; font-size: .88rem; color: #e2e8f0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-light); font-weight: 700; }
.disclaimer-micro { font-size: .74rem; text-align: center; margin-top: 13px; color: #aebac8; }
.section { padding: clamp(64px, 8vw, 92px) 0; }
.section-light { background: var(--cream); }
.section-dark { background: var(--navy); color: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 46px; }
.section-header h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.08; color: var(--navy); margin-bottom: 12px; }
.section-header.light h2 { color: var(--white); }
.section-sub { color: var(--text-muted); }
.dark-sub { color: #c2ccd7; }
.about-grid { display: grid; grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 60px); align-items: center; }
.credentials-box { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--navy); padding: clamp(26px, 3vw, 36px); border-radius: 4px; box-shadow: 0 12px 34px rgba(15,28,46,.045); }
.box-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); font-weight: 700; }
.credentials-box h2 { font-family: var(--serif); font-size: 2.2rem; color: var(--navy); margin-top: 4px; }
.role-title { color: var(--text-muted); font-size: .9rem; margin-bottom: 18px; }
.subtle-rule { border: 0; border-top: 1px solid var(--border); margin-bottom: 18px; }
.credential-list { list-style: none; }
.credential-list li { margin-bottom: 14px; font-size: .88rem; color: var(--text-muted); }
.credential-list li:last-child { margin-bottom: 0; }
.credential-list li strong { color: var(--navy); }
.about-text-col h2, .contact-info h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.08; color: var(--navy); margin-bottom: 20px; }
.about-text-col p:not(.eyebrow) { margin-bottom: 17px; color: var(--text-muted); }
.text-link { display: inline-flex; gap: 8px; margin-top: 4px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.practice-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 100%; border: 1px solid var(--border); padding: 28px 26px; border-radius: 4px; background: var(--white); transition: transform .2s, box-shadow .2s, border-color .2s; }
.practice-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15,28,46,.07); border-color: var(--gold); }
.card-num { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.practice-card h3 { font-family: var(--serif); font-size: 1.48rem; line-height: 1.12; color: var(--navy); margin-bottom: 12px; }
.practice-card p { font-size: .88rem; color: var(--text-muted); margin-bottom: 18px; }
.card-link { margin-top: auto; color: var(--gold); text-decoration: none; font-size: .83rem; font-weight: 700; }
.practice-note, .faq-note { max-width: 800px; margin: 24px auto 0; color: var(--text-muted); font-size: .78rem; text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.step-item { border-top: 1px solid rgba(255,255,255,.2); padding-top: 22px; }
.step-number { font-family: var(--serif); font-size: 1.65rem; color: var(--gold-light); display: block; margin-bottom: 10px; }
.step-item h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; margin-bottom: 10px; }
.step-item p { color: #cbd5e1; font-size: .9rem; }
.faq-container { max-width: 850px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 4px; margin-bottom: 12px; padding: 19px 22px; }
.faq-item summary { font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; font-size: 1.35rem; color: var(--gold); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 13px; color: var(--text-muted); font-size: .9rem; }
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 60px); align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p:not(.eyebrow) { color: var(--text-muted); margin-bottom: 26px; }
.info-block { margin-bottom: 17px; }
.info-block strong { display: block; color: var(--navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.info-block span, .info-block a { color: var(--text-muted); font-size: .94rem; }
.info-block a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
.contact-privacy { padding-top: 16px; border-top: 1px solid var(--border); font-size: .79rem; }
.contact-form-card { background: var(--cream); border: 1px solid var(--border); padding: clamp(24px, 3.5vw, 38px); border-radius: 4px; }
.contact-form-card h2 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; color: var(--navy); margin-bottom: 8px; }
.form-intro { color: var(--text-muted); font-size: .86rem; margin-bottom: 22px; }
.form-group { margin-bottom: 15px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
input, select, textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #c7d0da; border-radius: 3px; font-family: var(--sans); font-size: .92rem; color: var(--text); background: var(--white); }
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form-feedback { margin-top: 14px; padding: 12px; background: #edf2f6; color: var(--navy); border-left: 3px solid var(--gold); border-radius: 2px; font-size: .84rem; }
.form-feedback[hidden], .email-fallback[hidden] { display: none; }
.form-disclaimer { margin-top: 12px; color: var(--text-muted); font-size: .76rem; }
.email-fallback { font-size: .82rem; margin-top: 10px; }
.site-footer { background: var(--navy-deep); color: #a9b5c4; padding: 52px 0 34px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: inline-flex; }
.footer-tagline { font-size: .82rem; margin-top: 7px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #d1d8e0; text-decoration: none; font-size: .83rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-rule { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 26px 0; }
.footer-legal p { font-size: .76rem; line-height: 1.65; margin-bottom: 10px; }
.copyright { color: #8290a1; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 28px; }
  .main-nav { gap: 14px; }
  .main-nav a:not(.btn) { font-size: .82rem; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .container { width: min(100% - 36px, 600px); }
  .top-bar-inner { justify-content: center; text-align: center; flex-direction: column; gap: 2px; }
  .top-bar { font-size: .73rem; }
  .header-inner { min-height: 70px; }
  .brand-name { font-size: 1.58rem; }
  .brand-sub { font-size: .58rem; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; border-bottom: 1px solid var(--border); box-shadow: 0 12px 20px rgba(15,28,46,.08); }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: .92rem; }
  .main-nav .btn { margin-top: 12px; }
  .hero { padding: 58px 0 64px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 3.6rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 30px; }
  .trust-metrics { justify-content: space-between; gap: 10px; }
  .metric strong { font-size: 1.25rem; }
  .metric span { font-size: .68rem; }
  .hero-card { padding: 26px; }
  .section { padding: 62px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 2.35rem; }
  .about-grid, .contact-grid { gap: 30px; }
  .cards-grid, .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .practice-card { padding: 24px; }
  .steps-grid { gap: 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-card { padding: 24px 20px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: 12px 18px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .trust-metrics { gap: 7px; }
  .metric strong { font-size: 1.08rem; }
  .metric span { font-size: .62rem; }
  .metric-divider { height: 32px; }
  .hero-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Uploaded firm identity */
.brand-logo { display: block; width: 164px; height: auto; max-height: 64px; object-fit: contain; object-position: left center; }
.footer-logo { display: block; width: 150px; height: auto; max-height: 62px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.attorney-portrait { margin: 0 0 28px; max-width: 440px; }
.attorney-portrait img { display: block; width: 100%; max-height: 440px; object-fit: cover; object-position: center 28%; border-radius: 3px; box-shadow: 0 16px 38px rgba(15,28,46,.13); }
.attorney-portrait figcaption { padding-top: 10px; color: var(--navy); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.attorney-portrait figcaption span { display: block; color: var(--text-muted); font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .04em; }
@media (max-width: 760px) { .brand-logo { width: 142px; max-height: 58px; } .footer-logo { width: 138px; } .attorney-portrait { max-width: 100%; } .attorney-portrait img { max-height: 480px; } }


/* Loloi Law brand palette and larger logo */
.site-header { background: rgba(255,255,255,.985); border-bottom-color: #d4dfeb; }
.header-inner { min-height: 104px; }
.brand-logo { width: 220px; max-height: 96px; }
.footer-logo { width: 174px; max-height: 84px; filter: none; }
.top-bar { background: #092849; }
.hero { background: linear-gradient(125deg, #f7f9fc 0%, #eaf1f8 100%); border-bottom-color: #d8e3ef; }
.hero-card { background: #123b6b; }
.section-dark { background: #092849; }
.credentials-box { border-top-color: #123b6b; }
.practice-card:hover { border-color: #285786; }
.btn-primary { background: #123b6b; }
.btn-primary:hover { background: #1e4e7d; }
.btn-secondary { border-color: #123b6b; color: #123b6b; }
.btn-secondary:hover { background: #123b6b; color: #fff; }
.btn-gold { background: #285786; color: #fff; }
.btn-gold:hover { background: #123b6b; }
.btn-outline-sm { border-color: #123b6b; color: #123b6b; }
.btn-outline-sm:hover { background: #123b6b; color: #fff; }
.form-feedback { background: #eaf1f8; border-left-color: #285786; }
@media (max-width: 760px) { .header-inner { min-height: 88px; } .brand-logo { width: 184px; max-height: 82px; } .footer-logo { width: 156px; max-height: 76px; } }
@media (max-width: 380px) { .brand-logo { width: 164px; max-height: 74px; } }


/* Expanded attorney profile */
.attorney-profile-heading { margin-bottom: 34px; }
.attorney-profile-grid { width: 100%; max-width: none; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); align-items: start; }
.attorney-profile-photo .attorney-portrait { max-width: 100%; margin: 0; }
.attorney-profile-photo .attorney-portrait img { max-height: 620px; object-position: center 24%; }
.attorney-biography h2 { font-size: clamp(2rem, 3.4vw, 2.65rem); }
.attorney-biography p:not(.eyebrow) { line-height: 1.8; }
.attorney-profile-cta { margin-top: 10px; }
.attorney-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.attorney-highlights article { padding: 8px 18px 8px 0; border-right: 1px solid var(--border); }
.attorney-highlights article:last-child { border-right: 0; }
.highlight-label { display: block; margin-bottom: 9px; color: var(--blue, #285786); text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; font-weight: 700; }
.attorney-highlights strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.28rem; line-height: 1.25; }
.attorney-highlights p { margin: 8px 0 0; color: var(--text-muted); font-size: .88rem; line-height: 1.6; }
@media (max-width: 760px) {
  .attorney-profile-grid { grid-template-columns: 1fr; }
  .attorney-profile-photo { max-width: 520px; margin: 0 auto; }
  .attorney-highlights { grid-template-columns: 1fr; gap: 16px; margin-top: 34px; }
  .attorney-highlights article { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 16px; }
  .attorney-highlights article:last-child { border-bottom: 0; }
}


/* Prominent office phone links */
.top-bar-actions { display: flex; align-items: center; gap: 22px; }
.top-phone { color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.top-phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.phone-link { white-space: nowrap; }
@media (max-width: 760px) { .top-bar-actions { flex-direction: column; gap: 2px; } .phone-link { display: inline-flex; justify-content: center; } }


/* Darker logo-aligned navy palette */
:root { --navy: #0d3158; --navy-deep: #061f39; --blue: #17436f; --slate: #17436f; --gold: #17436f; --gold-light: #9bb9d6; --cream: #f1f5f9; }
.site-header { border-bottom-color: #cbd8e6; }
.top-bar, .site-footer, .section-dark { background: #061f39; }
.hero-card, .btn-primary { background: #0d3158; }
.btn-primary:hover { background: #17436f; }
.btn-secondary { border-color: #0d3158; color: #0d3158; }
.btn-secondary:hover { background: #0d3158; color: #fff; }
.btn-gold { background: #17436f; color: #fff; }
.btn-gold:hover { background: #0d3158; }
.btn-outline-sm { border-color: #0d3158; color: #0d3158; }
.btn-outline-sm:hover { background: #0d3158; color: #fff; }
.highlight-label { color: #17436f; }
.form-feedback { border-left-color: #17436f; }
