/* Lone Star Notary - main stylesheet */
:root {
  --navy: #0b2545;
  --navy-2: #13365f;
  --blue: #1d4f7a;
  --red: #b62e3b;
  --cream: #f7f4ee;
  --white: #ffffff;
  --ink: #17202a;
  --muted: #5e6875;
  --line: #dfe4ea;
  --soft: #f4f7fa;
  --gold: #c69a4b;
  --shadow: 0 18px 60px rgba(10, 30, 55, .13);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
section { scroll-margin-top: 88px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(11,37,69,.08);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  line-height: 1;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--navy);
  border-radius: 50%;
}
.brand-mark svg { width: 24px; fill: #fff; }
.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.brand small {
  display: block;
  margin-top: 5px;
  color: var(--red);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .24em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  color: #334155;
  font-size: .94rem;
  font-weight: 650;
}
.main-nav a:hover { color: var(--red); }
.main-nav .nav-call {
  color: #fff;
  background: var(--navy);
  padding: 11px 16px;
  border-radius: 999px;
}
.main-nav .nav-call:hover { color: #fff; background: var(--red); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(198,154,75,.18), transparent 27%),
    linear-gradient(125deg, #081c33 0%, #0b2545 55%, #13365f 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -180px auto;
  width: 620px;
  height: 420px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  transform: rotate(-15deg);
}
.hero-stars {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    radial-gradient(circle, #fff 1px, transparent 1.5px);
  background-size: 54px 54px;
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.2fr .72fr;
  align-items: center;
  gap: 70px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--red);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow.light { color: #f0c97e; }
.eyebrow.centered { text-align: center; }
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: #e6b55d;
  border-radius: 50%;
}
.hero .eyebrow { color: #f0c97e; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.45rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 700;
}
.hero h1 span {
  display: block;
  color: #f4d79e;
}
.hero-lead {
  max-width: 670px;
  margin: 26px 0 0;
  color: #d7e0e9;
  font-size: 1.12rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--red); }
.btn-primary:hover { background: #9f2431; }
.btn-primary strong { font-size: .92em; }
.btn-secondary {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}
.btn-outline {
  margin-top: 24px;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-full { width: 100%; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  color: #dce6f0;
  font-size: .9rem;
  font-weight: 700;
}
.check { color: #f0c97e; margin-right: 5px; }

.hero-card {
  position: relative;
  padding: 38px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
}
.card-star {
  position: absolute;
  top: -23px;
  right: 28px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 5px solid var(--navy);
  border-radius: 50%;
}
.mini-label {
  margin: 0 0 6px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-card h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  letter-spacing: -.03em;
}
.hero-card p { color: var(--muted); }
.hero-card ul {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}
.hero-card li {
  padding: 9px 0;
  border-bottom: 1px solid #edf0f3;
}
.hero-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--red);
  font-weight: 900;
}
.text-link { color: var(--navy); font-weight: 850; }
.text-link span { color: var(--red); }

.quick-strip {
  background: var(--cream);
  border-bottom: 1px solid #e8e2d7;
}
.quick-strip-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.quick-strip p { margin: 0; }
.quick-links { display: flex; gap: 10px; }
.quick-links a {
  min-width: 76px;
  padding: 8px 14px;
  text-align: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid #ded7ca;
  border-radius: 999px;
  font-weight: 800;
}

.section { padding: 96px 0; }
.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-heading h2, .area-grid h2, .about-grid h2, .request-copy h2, .final-cta h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-heading > p:last-child {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  min-height: 280px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: #c8d3df;
  box-shadow: var(--shadow);
}
.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
  font-size: 1.4rem;
  font-weight: 900;
}
.service-card h3 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 1.16rem;
}
.service-card p { margin: 0; color: var(--muted); }
.notice {
  margin-top: 28px;
  padding: 18px 22px;
  text-align: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.notice a { color: var(--red); font-weight: 850; }

.section-dark {
  color: #fff;
  background: var(--navy);
}
.area-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 72px;
}
.section-dark h2 { color: #fff; }
.area-intro { color: #c7d4df; font-size: 1.05rem; }
.city-card {
  padding: 36px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.city-card .mini-label { color: var(--red); }
.city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.city-grid span {
  padding: 11px 14px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid #e1e7ec;
  border-radius: 10px;
  font-weight: 800;
}
.city-grid span::before {
  content: "★";
  margin-right: 8px;
  color: var(--red);
  font-size: .72rem;
}
.city-note { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: #ccd5df;
}
.steps article {
  position: relative;
  z-index: 1;
  text-align: center;
}
.steps article > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  color: #fff;
  background: var(--navy);
  border: 8px solid #fff;
  outline: 1px solid #d8e0e8;
  border-radius: 50%;
  font-weight: 900;
}
.steps h3 { margin: 20px 0 7px; color: var(--navy); }
.steps p { max-width: 300px; margin: auto; color: var(--muted); }

.section-soft { background: var(--soft); }
.about-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: center;
  gap: 72px;
}
.about-badge {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(11,37,69,.92), rgba(11,37,69,.92)),
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(255,255,255,.08) 14px, rgba(255,255,255,.08) 16px);
  border: 10px solid #fff;
  outline: 1px solid #dce4ec;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.texas-star {
  font-size: 3.7rem;
  color: #f2d18f;
  line-height: 1;
}
.about-badge strong {
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  letter-spacing: -.03em;
}
.about-badge > span { color: #f2d18f; font-weight: 900; letter-spacing: .3em; }
.about-badge small { margin-top: 16px; color: #d7e2ed; }
.about-grid > div:last-child > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; }
.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.about-points div {
  padding: 15px;
  background: #fff;
  border: 1px solid #dde5ec;
  border-radius: 12px;
}
.about-points strong, .about-points span { display: block; }
.about-points strong { color: var(--navy); }
.about-points span { margin-top: 4px; color: var(--muted); font-size: .87rem; }

.request-section {
  color: #fff;
  background: linear-gradient(125deg, #7f1d28 0%, var(--red) 55%, #9f2431 100%);
}
.request-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 68px;
  align-items: center;
}
.request-copy h2 { color: #fff; }
.request-copy > p:not(.eyebrow) { color: #f6dfe2; }
.phone-panel {
  margin-top: 30px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255,255,255,.28);
}
.phone-panel span { display: block; font-size: .82rem; color: #f5d9dd; }
.phone-panel a {
  display: block;
  margin-top: 3px;
  font-size: 1.8rem;
  font-weight: 900;
}
.request-form {
  padding: 34px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(80,0,10,.22);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.request-form label {
  display: block;
  margin-bottom: 15px;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 800;
}
.request-form input,
.request-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid #cfd8e2;
  border-radius: 10px;
  outline: none;
}
.request-form input:focus,
.request-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,79,122,.12);
}
.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .79rem;
}

.final-cta { padding: 70px 0; }
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.final-cta h2 { font-size: clamp(2rem, 4vw, 3rem); }

.site-footer {
  padding: 64px 0 24px;
  color: #c9d4df;
  background: #07192d;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr;
  gap: 70px;
}
.footer-brand { color: #fff; }
.footer-grid > div:first-child p { max-width: 380px; }
.footer-grid h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-grid > div:not(:first-child) a {
  display: block;
  margin: 8px 0;
}
.footer-grid a:hover { color: #fff; }
.footer-grid p { color: #9fb0c0; font-size: .9rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #8195a8;
  font-size: .78rem;
}
.footer-bottom p { margin: 0; }

.mobile-bar { display: none; }

dialog {
  width: min(calc(100% - 28px), 620px);
  padding: 32px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 100px rgba(0,0,0,.35);
}
dialog::backdrop { background: rgba(4,17,31,.72); backdrop-filter: blur(3px); }
dialog h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 1.7rem;
}
#request-output {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  resize: vertical;
}
.dialog-actions { display: flex; gap: 10px; margin-top: 14px; }
.copy-status { min-height: 22px; margin-bottom: 0; color: var(--blue); font-weight: 700; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(11,37,69,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; }
  .main-nav .nav-call { margin-top: 8px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { max-width: 680px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid, .about-grid, .request-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-badge { width: min(440px, 100%); margin-inline: auto; }
}

@media (max-width: 720px) {
  body { padding-bottom: 66px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 68px; }
  .main-nav { top: 68px; }
  .brand strong { font-size: 1.18rem; }
  .brand-mark { width: 38px; height: 38px; }

  .hero-grid { min-height: auto; padding-top: 58px; padding-bottom: 58px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .trust-row { display: grid; gap: 8px; }
  .hero-card { padding: 28px 22px; }

  .quick-strip-inner { padding: 16px 0; align-items: flex-start; }
  .quick-links { flex-shrink: 0; }
  .quick-links a { min-width: auto; }

  .section { padding: 72px 0; }
  .service-grid, .steps, .about-points { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .steps { gap: 30px; }
  .steps::before { display: none; }

  .city-card { padding: 24px 18px; }
  .city-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .city-grid span { padding: 10px; font-size: .9rem; }

  .about-badge { width: min(340px, 90vw); }
  .about-badge strong { font-size: 1.8rem; }

  .request-form { padding: 24px 18px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }

  .final-cta-inner { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    height: 66px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-top: 1px solid #d8e0e8;
    box-shadow: 0 -8px 24px rgba(11,37,69,.12);
  }
  .mobile-bar a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    color: var(--navy);
    font-size: .75rem;
    font-weight: 800;
  }
  .mobile-bar a + a { border-left: 1px solid #e5e9ee; }
  .mobile-bar span { color: var(--red); font-size: 1rem; }

  .dialog-actions { flex-direction: column; }
  .dialog-actions .btn { width: 100%; }
}

@media (max-width: 430px) {
  .quick-strip-inner { display: block; }
  .quick-links { margin-top: 12px; }
  .city-grid { grid-template-columns: 1fr; }
}
