/* ============================================================
   Texas Notary Lady — Design System
   "Warm Texan Professional"  ·  built by Argus Dynamics
   Texas red is reserved for CTAs, accents & verified badges.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink:        #1c1714;   /* warm near-black */
  --ink-soft:   #4b443e;
  --ink-mute:   #7a716a;
  --cream:      #faf6ef;   /* page background */
  --cream-2:    #f2ebdf;   /* alt section */
  --paper:      #ffffff;
  --line:       #e7ddcd;
  --red:        #bf0a30;   /* Texas red — accents/CTAs only */
  --red-dk:     #9c0826;
  --brass:      #b0894f;   /* warm metallic accent */
  --brass-dk:   #8a6a37;
  --shadow-sm:  0 1px 2px rgba(28,23,20,.06), 0 2px 8px rgba(28,23,20,.05);
  --shadow-md:  0 4px 14px rgba(28,23,20,.08), 0 12px 32px rgba(28,23,20,.08);
  --shadow-lg:  0 18px 50px rgba(28,23,20,.16);
  --r-sm: 10px; --r-md: 16px; --r-lg: 26px; --r-pill: 999px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.eyebrow {
  font-family: var(--font-sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--red); display:inline-block; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--ink-soft); }
.serif { font-family: var(--font-serif); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.4rem; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--cream { background: var(--cream-2); }
.section--ink { background: var(--ink); color: #f3ece2; }
.section--ink h2,.section--ink h3 { color: #fff; }
.center { text-align: center; }
.measure { max-width: 60ch; }
.mx-auto { margin-inline: auto; }
.grid { display: grid; gap: 1.5rem; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2.25rem}
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: var(--r-pill); font-weight: 600;
  font-size: 1rem; border: 1.5px solid transparent; transition: all .22s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(191,10,48,.28); }
.btn-primary:hover { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(191,10,48,.34); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.5); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.08rem; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .9rem;
  border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.pill svg { width: 1em; height: 1em; color: var(--red); }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill--solid { background: var(--red); color:#fff; border-color: var(--red); }
.pill--solid svg { color:#fff; }

/* ---------- Top bar (urgency) ---------- */
.topbar {
  background: var(--ink); color: #f5ede1; text-align: center;
  font-size: .9rem; padding: .55rem 1rem; font-weight: 500;
}
.topbar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.topbar .dot { color: #ffd9a0; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,246,239,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__seal { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; line-height: 1; letter-spacing: -.01em; }
.brand__name span { color: var(--red); }
.brand__sub { font-size: .72rem; color: var(--ink-mute); letter-spacing: .04em; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); transition: color .18s; }
.nav__links a:hover,.nav__links a[aria-current="page"] { color: var(--red); }
.nav__cta { display: flex; align-items: center; gap: .7rem; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; background: var(--paper); }
.lang a { padding: .35rem .7rem; font-size: .8rem; font-weight: 700; color: var(--ink-mute); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); align-items: center; justify-content: center; }
.nav__toggle svg { width: 22px; height: 22px; }

/* mobile menu panel */
.nav__panel { display: none; }
@media (max-width: 940px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__panel { display: block; max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); background: var(--cream); border-bottom: 1px solid var(--line); }
  .nav__panel.open { max-height: 560px; }
  .nav__panel a { display: block; padding: .95rem 1.4rem; border-top: 1px solid var(--line); font-weight: 500; }
  .nav__panel .btn { margin: 1rem 1.4rem; display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem,5vw,4.5rem) clamp(3rem,6vw,5rem); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em { font-style: italic; color: var(--red); }
.hero__price { display:inline-flex; gap:.5rem; flex-wrap:wrap; margin: 1.2rem 0 1.6rem; }
.chip { display:inline-flex; align-items:center; gap:.45rem; background:var(--paper); border:1px solid var(--line); border-radius:var(--r-pill); padding:.4rem .85rem; font-size:.85rem; font-weight:600; box-shadow: var(--shadow-sm); }
.chip strong { color: var(--red); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero__media::after { content:""; position:absolute; inset:0; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.hero__badge {
  position: absolute; left: -14px; bottom: 26px; background: var(--paper);
  border-radius: var(--r-md); padding: .9rem 1.1rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .7rem; max-width: 250px;
}
.hero__badge .stars { color: #e0a73a; font-size: 1rem; letter-spacing: 1px; }
.hero__badge b { display:block; font-family: var(--font-serif); font-size: 1.05rem; }
.hero__badge small { color: var(--ink-mute); font-size: .78rem; }

/* ---------- Trust strip ---------- */
.trust { background: var(--paper); border-block: 1px solid var(--line); }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem; padding-block: 1.3rem; }
.trust__item { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.trust__item svg { width: 1.2em; height: 1.2em; color: var(--red); flex:none; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 1.5rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__img { aspect-ratio: 3/2; width: 100%; object-fit: cover; }
.card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card__price { font-family: var(--font-serif); font-size: 1.7rem; color: var(--red); font-weight: 600; margin-top: .2rem; }
.card__price small { font-size: .8rem; color: var(--ink-mute); font-family: var(--font-sans); font-weight: 500; }
.card p { color: var(--ink-soft); margin-top: .5rem; }
.card__link { margin-top: auto; padding-top: 1.1rem; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: .4rem; }
.card__link svg { width: 1.15em; height: 1.15em; }
.card:hover .card__link { gap: .7rem; }

/* Inline icon sizing safety (icons rendered inside text/lists) */
.ic svg { width: 24px; height: 24px; }
.stack li > svg, .legal svg { width: 1.2em; height: 1.2em; flex: none; }
.quote a svg, .quote p svg { width: 1.15em; height: 1.15em; vertical-align: -.18em; }
.quote a .stars + h3 ~ p svg { width: 1.15em; height: 1.15em; }

.icard { background: var(--paper); border:1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; }
.icard .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(191,10,48,.08); display:grid; place-items:center; color: var(--red); margin-bottom: 1rem; }
.icard .ic svg { width: 24px; height: 24px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.4rem; }
.step { position: relative; padding-top: .5rem; }
.step__n { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-serif); font-size: 1.3rem; display: grid; place-items: center; margin-bottom: .9rem; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--ink-soft); margin-top: .35rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { width:100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.split__media.portrait img { max-width: 420px; margin-inline: auto; }

/* ---------- Price table ---------- */
.ptable { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ptable__row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1.15rem 1.5rem; border-top: 1px solid var(--line); align-items: center; }
.ptable__row:first-child { border-top: none; }
.ptable__row b { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; }
.ptable__row span { color: var(--ink-mute); font-size: .88rem; }
.ptable__price { font-family: var(--font-serif); font-size: 1.5rem; color: var(--red); font-weight: 600; white-space: nowrap; }
.note { font-size: .85rem; color: var(--ink-mute); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; }
.quote .stars { color: #e0a73a; letter-spacing: 2px; margin-bottom: .8rem; }
.quote p { font-size: 1.05rem; color: var(--ink); font-style: italic; font-family: var(--font-serif); }
.quote footer { margin-top: 1.1rem; font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.quote footer span { color: var(--ink-mute); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: .8rem; overflow: hidden; }
.faq summary { padding: 1.15rem 1.4rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: var(--font-serif); font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--red); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* ---------- Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: .9rem; }
.area-grid a { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.2rem; font-weight: 600; display:flex; align-items:center; gap:.6rem; transition: all .2s; }
.area-grid a:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.area-grid svg { width: 1em; height:1em; color: var(--red); }

/* ---------- CTA band ---------- */
.ctaband { background: linear-gradient(135deg, var(--red), var(--red-dk)); color: #fff; border-radius: var(--r-lg); padding: clamp(2.2rem,5vw,3.6rem); text-align: center; box-shadow: var(--shadow-lg); }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.9); margin: .8rem auto 1.7rem; max-width: 52ch; }
.ctaband .btn-light { color: var(--red-dk); }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field input,.field select,.field textarea {
  width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); font: inherit; color: var(--ink); transition: border-color .18s;
}
.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--red); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- Disclaimer / legal ---------- */
.legal { background: var(--cream-2); border: 1px dashed var(--brass); border-radius: var(--r-md); padding: 1.2rem 1.4rem; font-size: .9rem; color: var(--ink-soft); }
.legal strong { color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cabfb2; padding-block: 3.2rem 1.6rem; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: #cabfb2; transition: color .18s; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: .8rem; color: #a99e90; max-width: 32ch; }
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a322c; display: grid; place-items: center; transition: all .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid #342c26; margin-top: 2.4rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: #8f857a; align-items: center; }
.footer__bottom a { font-weight: 600; }
.argus { display: inline-flex; align-items: center; gap: .45rem; color: #cabfb2; }
.argus b { color: #fff; }
.argus svg { width: .95em; height: .95em; }
.argus:hover { color: #fff; }
.argus:hover svg { transform: translateX(2px); transition: transform .2s var(--ease); }

/* ---------- Sticky mobile dock ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: .6rem; padding: .7rem; background: rgba(250,246,239,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(28,23,20,.1); }
.dock .btn { flex: 1; padding: .85rem; }
@media (max-width: 720px) { .dock { display: flex; } body { padding-bottom: 78px; } }

/* ---------- Page header ---------- */
.phead { padding-block: clamp(2.5rem,5vw,4rem) clamp(2rem,4vw,3rem); background: var(--cream-2); border-bottom: 1px solid var(--line); }
.phead .breadcrumb { font-size: .82rem; color: var(--ink-mute); margin-bottom: .8rem; }
.phead .breadcrumb a:hover { color: var(--red); }
.phead h1 { margin-bottom: .8rem; }

/* ---------- Reveal animation (progressive enhancement) ----------
   Visible by default. Only hidden when JS is active (html.js), so the
   site is fully readable with JS disabled or if a script fails. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; margin-inline: auto; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: -22px; }
  .hero { padding-bottom: 3rem; }
}
