/* Indiana Title Search Service: site styles */
:root {
  --red: #981b1e;
  --red-dark: #7a1518;
  --red-tint: #f7ecec;
  --ink: #1d2733;
  --slate: #2c3a4a;
  --muted: #5a6573;
  --line: #e3ded6;
  --paper: #faf8f4;
  --white: #ffffff;
  --gold: #b88a3b;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(29, 39, 51, 0.08);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Utility bar */
.util-bar { background: var(--ink); color: #d9dee5; font-size: 0.88rem; }
.util-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; align-items: center; padding: 8px 0; }
.util-bar a { color: #fff; text-decoration: none; }
.util-bar a:hover { text-decoration: underline; color: #fff; }
.util-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.logo { display: inline-flex; flex: 0 0 auto; }
.logo img { width: 230px; height: auto; }
.nav { margin-left: auto; }
.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav .menu a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: 6px; }
.nav .menu a:hover { background: var(--red-tint); color: var(--red); }
.nav .current-menu-item > a, .nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -7px; left: 0; }
.menu-toggle span::after { top: 7px; left: 0; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 6px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--sans); line-height: 1.2; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--red-tint); color: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; }
.header-cta { padding: 11px 18px; }

/* Hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,27,36,.86) 0%, rgba(20,27,36,.6) 42%, rgba(20,27,36,.08) 72%, rgba(20,27,36,0) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 70px 0; }
.hero-content { max-width: 600px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; color: #e8ebef; }
.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.hero .eyebrow { color: #f3c9ca; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.photo-credit { position: absolute; right: 14px; bottom: 10px; z-index: 1; font-size: .78rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.6); margin: 0; }

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .28; }
.page-hero .wrap { position: relative; padding: 70px 0 60px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #dfe4ea; font-size: 1.15rem; max-width: 720px; margin: 0; }
.page-hero .eyebrow { color: #f3c9ca; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Stats */
.stats { background: var(--red); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .stat { padding: 30px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.2); }
.stats .stat:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; }
.stats span { font-size: .95rem; color: #f6dede; }

/* Two column */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
.split img.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23981b1e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: 0 2px 0 rgba(0,0,0,.02); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: 1rem; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; font-size: .98rem; }
.card .more::after { content: " \2192"; }
.icon { width: 46px; height: 46px; border-radius: 10px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--red); background: var(--red-tint); border-radius: 999px; padding: 3px 12px; margin-bottom: 12px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { position: relative; padding: 26px 24px 24px; background: #fff; border-radius: var(--radius); border-top: 4px solid var(--red); box-shadow: var(--shadow); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-family: var(--serif); margin-bottom: 14px; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Counties */
.county-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px 16px; }
.county-list li { padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: .96rem; }
.county-list.compact { grid-template-columns: repeat(4, 1fr); }

/* Services detail */
.service-detail { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail aside .meta { background: var(--paper); border-left: 4px solid var(--red); padding: 16px 18px; border-radius: 0 8px 8px 0; font-size: .98rem; }
.service-detail aside .meta strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.includes { columns: 2; column-gap: 32px; }
.includes li { break-inside: avoid; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 720px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 600; }
.compare tbody tr:nth-child(even) { background: var(--paper); }
.compare tbody th { font-family: var(--serif); }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.jump-links a { display: block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; background: #fff; }
.jump-links a:hover { border-color: var(--red); color: var(--red); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red-dark), var(--red)); color: #fff; padding: 60px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; color: #f6dede; max-width: 640px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Callouts and placeholders */
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; }
.callout p:last-child { margin-bottom: 0; }
.placeholder-flag { display: inline-block; background: #fff6d6; color: #6b4e00; border: 1px dashed #c9a227; border-radius: 4px; padding: 1px 8px; font-size: .85rem; font-family: var(--sans); font-weight: 600; line-height: 1.5; }
.photo-slot { aspect-ratio: 4 / 5; background: repeating-linear-gradient(45deg, #f1ede6, #f1ede6 12px, #ebe6dd 12px, #ebe6dd 24px); border-radius: var(--radius) var(--radius) 0 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; text-align: center; padding: 20px; }
.photo-slot .initials { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 2rem; margin: 0 auto 12px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.team-card .body { padding: 22px; }
.team-card h3 { margin-bottom: .15em; }
.team-card .role { color: var(--red); font-weight: 700; margin-bottom: 12px; }
.team-card p { font-size: .98rem; color: var(--muted); }

/* Contact block */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-item h3 { font-size: 1.05rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-item p { font-size: 1.1rem; margin: 0; }
.map-frame { border: 0; width: 100%; height: 340px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Order form */
.order-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.order-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 8px; margin: 0 0 24px; background: #fff; }
.order-form legend { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; padding: 0 8px; margin-left: -8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-row.three { grid-template-columns: 2fr 1fr 1fr; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .98rem; }
.req { color: var(--red); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #c9c3b8; border-radius: 6px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: 3px solid rgba(152,27,30,.18); outline-offset: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choice-row label { font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.choice-row input { width: 18px; height: 18px; accent-color: var(--red); }
.form-note { background: var(--red-tint); border: 1px solid #e3b9ba; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; }
.form-note p:last-child { margin-bottom: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 20px; }
.sidebar-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.sidebar-box h3 { font-size: 1.1rem; }
.sidebar-box ul { padding-left: 20px; margin: 0; }
.sidebar-box li { margin-bottom: 6px; font-size: .98rem; }
.sticky { position: sticky; top: 110px; }

/* Footer */
.site-footer { background: var(--ink); color: #c8d0da; font-size: .98rem; padding-top: 60px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-logo img { width: 220px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: #9aa6b4; }

/* WordPress resets */
.entry-content > *:first-child { margin-top: 0; }
.site-main { display: block; }

/* Responsive */
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .county-list { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-open .nav { display: block; }
  .nav .menu { flex-direction: column; padding: 10px 20px 18px; }
  .nav .menu a { padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .current-menu-item > a, .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); padding-left: 14px; }
  .split, .order-layout, .service-detail { grid-template-columns: 1fr; gap: 28px; }
  .sticky { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:nth-child(3) { border-left: 0; }
  .stats .stat { border-top: 1px solid rgba(255,255,255,.2); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .util-bar .util-address { display: none; }
  .site-header .wrap { min-height: 72px; }
  .logo img { width: 180px; }
  .section { padding: 56px 0; }
  .hero { min-height: 0; }
  .hero > img { object-position: 58% 50%; }
  .hero::after { background: linear-gradient(180deg, rgba(20,27,36,.55) 0%, rgba(20,27,36,.86) 100%); }
  .hero .wrap { padding: 90px 0 56px; }
  .card-grid, .steps, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .county-list, .county-list.compact { grid-template-columns: repeat(2, 1fr); }
  .field-row, .field-row.three { grid-template-columns: 1fr; }
  .includes { columns: 1; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
