/*
Theme Name: Inspection DFW
Theme URI: https://inspectiondfw.com
Author: Inspection DFW
Description: Texas-themed knowledge base for North Texas homeowners. Texas-flag palette (navy, red, cream), Lone Star + longhorn motifs. inspectiondfw.com. No build step.
Version: 3.1
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ===== Design tokens: Texas flag palette ===== */
:root {
  --blue: #002868;       /* Texas flag blue */
  --blue-2: #0a3d8f;
  --red: #bf0a30;        /* Texas flag red */
  --red-deep: #9c0726;
  --cream: #fbf7ee;
  --cream-2: #f4ecdd;
  --surface: #ffffff;
  --ink: #1a2230;
  --ink-soft: #4c586a;
  --muted: #8b95a3;
  --line: #e7ddca;
  --shadow-sm: 0 1px 2px rgba(0, 40, 104, .06), 0 2px 6px rgba(0, 40, 104, .06);
  --shadow: 0 14px 36px rgba(0, 40, 104, .12);
  --shadow-lg: 0 28px 64px rgba(0, 40, 104, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1160px;
  --font-head: "Oswald", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body);
  color: var(--ink); background: var(--cream);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head); line-height: 1.08; letter-spacing: .002em;
  color: var(--blue); margin: 0 0 .5em; font-weight: 600; text-transform: none;
  overflow-wrap: break-word;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(52px, 8vw, 100px) 0; }
.section--navy { background: var(--blue); color: #cfe0ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin-bottom: .9em;
}
.eyebrow .star { width: 14px; height: 14px; color: var(--red); }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.muted { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: .01em;
  padding: .75em 1.6em; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-transform: uppercase;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(191, 10, 48, .28); }
.btn--primary:hover { background: var(--red-deep); }
.btn--navy { background: var(--blue); color: #fff; }
.btn--navy:hover { background: var(--blue-2); }
.btn--ghost { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--lg { padding: .9em 2em; font-size: 1.1rem; }
/* understated, link-style CTA for the discreet funnel */
.textcta { display: inline-flex; align-items: center; gap: .35em; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: .92rem; color: var(--blue); }
.textcta:hover { color: var(--red); text-decoration: none; }
.header-book { font-family: var(--font-head); font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; color: var(--blue); }
.header-book:hover { color: var(--red); text-decoration: none; }

/* ===== Trust bar ===== */
.trustbar { background: var(--blue); color: #dbe7f4; }
.trustbar .container { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.trustbar span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .02em; text-transform: uppercase; }
.trustbar .star { width: 15px; height: 15px; color: var(--red); flex: none; }
@media (max-width: 620px) { .trustbar .container { gap: 10px 24px; font-size: .82rem; } }

/* ===== Texas flag accent bar ===== */
.tx-bar { display: flex; height: 4px; }
.tx-bar i { flex: 1; }
.tx-bar i:nth-child(1) { background: var(--blue); }
.tx-bar i:nth-child(2) { background: #fff; }
.tx-bar i:nth-child(3) { background: var(--red); }

/* ===== Header ===== */
.topbar { background: var(--blue); color: #b9cce4; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 238, .92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; color: var(--blue); letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 40px; height: 40px; border-radius: 9px; flex: none; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.brand .mark .star { width: 22px; height: 22px; }
.brand b { color: var(--red); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: .97rem; font-family: var(--font-body); }
.nav a:hover, .nav a.active { color: var(--blue); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav .nav-book { display: none; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--blue); margin: 0 auto; position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 88% -10%, rgba(0, 40, 104, .08), transparent 60%), var(--cream); }
.hero .container { display: grid; grid-template-columns: 1.12fr .88fr; gap: 50px; align-items: center; padding: clamp(48px, 7vw, 92px) 22px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: 0; }
.hero h1 .hl { color: var(--red); }
.hero__sub { font-size: 1.2rem; color: var(--ink-soft); max-width: 44ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; position: relative; }
.hero__card h3 { margin-top: 0; }
.hero__card ul li { list-style: none; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--ink-soft); }
.hero__card ul li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; flex: none; background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.6l2.95 6.4 7 .72-5.2 4.73 1.43 6.95L12 17.9l-6.18 3.5 1.43-6.95-5.2-4.73 7-.72z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.6l2.95 6.4 7 .72-5.2 4.73 1.43 6.95L12 17.9l-6.18 3.5 1.43-6.95-5.2-4.73 7-.72z'/%3E%3C/svg%3E") center/contain no-repeat; }
.longhorn-watermark { position: absolute; right: -40px; bottom: -30px; width: min(46vw, 560px); color: rgba(0, 40, 104, .05); z-index: 0; pointer-events: none; }

/* ===== Search ===== */
.idfw-search { display: flex; gap: 8px; margin-top: 24px; max-width: 460px; }
.idfw-search input[type="search"] { flex: 1; padding: .85em 1.1em; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-size: 1rem; font-family: var(--font-body); color: var(--ink); }
.idfw-search input[type="search"]:focus { outline: none; border-color: var(--blue); }

/* ===== Grids / cards ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.section-head { max-width: 760px; margin: 0 auto clamp(30px, 5vw, 52px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head p { color: var(--ink-soft); font-size: 1.07rem; margin: 0; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .16s ease, box-shadow .2s ease; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .pad { padding: 22px 24px; }
.card .tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 9px; border-radius: 4px; margin-bottom: 12px; }
.card h3 { font-size: 1.25rem; margin: 0 0 8px; line-height: 1.15; }
.card h3 a { color: var(--blue); }
.card h3 a:hover { color: var(--red); text-decoration: none; }
.card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.card .thumb { aspect-ratio: 16/9; background: var(--blue); position: relative; overflow: hidden; }
.card .thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 80% 15%, rgba(191,10,48,.55), transparent 60%); }
.card .thumb .lh { position: absolute; right: -10px; bottom: -8px; width: 62%; color: rgba(255,255,255,.16); }
/* real featured photo fills the thumbnail */
.card .thumb--img { background: var(--blue); }
.card .thumb--img::before { display: none; }
.card .thumb--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* article lead photo */
.article-hero { margin: 8px 0 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-hero img { width: 100%; height: auto; display: block; }
/* optional hero background photo (used only when an image file is present) */
.hero--photo { background: linear-gradient(90deg, rgba(251,247,238,.97) 0%, rgba(251,247,238,.86) 46%, rgba(251,247,238,.45) 100%), var(--hero-bg) center/cover no-repeat, var(--cream); }
.hero--photo .hero__card { backdrop-filter: saturate(140%) blur(2px); }
.read { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--red); font-family: var(--font-head); text-transform: uppercase; font-size: .9rem; letter-spacing: .03em; }

.feature { text-align: left; }
.feature .ic { width: 50px; height: 50px; border-radius: 12px; background: rgba(0,40,104,.08); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 15px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--ink-soft); margin: 0; }

/* ===== Browse by topic ===== */
.topic { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .2s ease; }
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.topic__star { display: inline-flex; width: 40px; height: 40px; border-radius: 9px; background: rgba(191,10,48,.1); color: var(--red); align-items: center; justify-content: center; margin-bottom: 12px; }
.topic__star .star { width: 22px; height: 22px; }
.topic h3 { color: var(--blue); font-size: 1.2rem; margin: 0 0 4px; }
.topic p { color: var(--muted); margin: 0; font-size: .9rem; }

/* ===== FAQ ===== */
.hero--faq .container { grid-template-columns: 1fr; }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-group { font-size: 1.5rem; color: var(--blue); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line); display: flex; align-items: center; gap: 10px; }
.faq-group:first-child { margin-top: 0; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--blue); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; color: var(--red); font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 16px 22px 20px; }
.faq-answer p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }

/* ===== Article ===== */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.article .meta a { color: var(--red); }
.article h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.article-body { font-size: 1.1rem; color: #2a3543; }
.article-body h2 { font-size: 1.7rem; margin: 1.5em 0 .5em; }
.article-body h3 { font-size: 1.3rem; margin: 1.3em 0 .4em; }
.article-body strong { color: var(--blue); }
.article-body ul, .article-body ol { margin: 0 0 1.2em 1.2em; }
.article-body li { margin-bottom: .5em; }
.article-body a { color: var(--red); text-decoration: underline; }

/* ===== Recommendation card (conversion: social proof + CTA) ===== */
.rec-card { max-width: 760px; margin: 40px auto 0; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 14px; padding: 28px 30px; box-shadow: var(--shadow); }
.rec-card__head { margin: 0 0 12px; font-size: 1.5rem; }
.rec-card__biz { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; margin-bottom: 10px; }
.rec-card__name { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; color: var(--blue); font-size: 1.12rem; }
.rec-card__name .star { width: 18px; height: 18px; color: var(--red); }
.rec-card__proof { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.rec-card__stars { color: #f5a623; letter-spacing: 1px; font-size: 1rem; }
.rec-card__lead { color: var(--ink-soft); margin: 0 0 18px; font-size: 1.02rem; }
.rec-card__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ===== Maintenance calendar ===== */
.season-card .pad { padding: 24px 26px; }
.season-card__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 1.35rem; margin: 0 0 6px; }
.season-card__icon { font-size: 1.1em; }
.season-card__months { font-family: var(--font-body); font-weight: 700; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.season-list { margin: 8px 0 0; padding-left: 1.15em; }
.season-list li { margin-bottom: 8px; color: var(--ink-soft); font-size: 1rem; }
.season-list li::marker { color: var(--red); }

/* ===== Article note + related guides (internal linking) ===== */
.article-note { max-width: 760px; margin: 30px auto 0; padding: 18px 22px; background: var(--cream-2); border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; }
.article-note p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.related { margin-top: 56px; }
.related__head { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin-bottom: 22px; }
.related__head .star { width: 20px; height: 20px; color: var(--red); }

/* ===== CTA band ===== */
.cta { background: var(--blue); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px); text-align: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 320px; height: 200px; background: radial-gradient(60% 80% at 80% 20%, rgba(191,10,48,.5), transparent 65%); pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); position: relative; }
.cta p { max-width: 600px; margin: 0 auto 22px; color: #cfe0ee; position: relative; }
.cta .btn { position: relative; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta .btn--ghost:hover { background: #fff; color: var(--blue); }

/* ===== Footer ===== */
.site-footer { background: var(--blue); color: #acc2dd; padding: 54px 0 28px; }
.site-footer a { color: #d8e4f1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-bottom: 34px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul li { list-style: none; margin-bottom: 9px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: #91a8c4; }

/* ===== Agent of the Week ===== */
.section--alt { background: var(--cream-2); }
.section--tight { padding-top: clamp(20px, 3vw, 32px); }
/* tighter, scoped hero spacing for the Agent of the Week page */
.hero--aotw .container { padding-top: clamp(24px, 5vw, 46px); padding-bottom: clamp(8px, 2vw, 18px); }
.hero--aotw h1 { margin-bottom: .25em; }
.hero--aotw .hero__sub { margin-bottom: 0; }
.hero--aotw .hero__actions { margin-top: 16px; }
.btn--sm { padding: .5em 1.15em; font-size: .9rem; }
.aotw-feature {
  display: grid; grid-template-columns: 300px 1fr; gap: 38px; align-items: center;
  max-width: 980px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--red);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px;
}
.aotw-feature__media { align-self: stretch; }
.aotw-feature__photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center;
  border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--cream-2);
}
.aotw-feature__placeholder {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); background: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.aotw-feature__placeholder .star { width: 84px; height: 84px; color: rgba(255,255,255,.25); }
.aotw-feature__name { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 4px 0 6px; }
.aotw-feature__sub { font-family: var(--font-head); font-weight: 600; color: var(--red); font-size: 1.02rem; letter-spacing: .01em; margin: 0 0 10px; }
.aotw-feature__tagline { font-size: 1.15rem; font-style: italic; color: var(--blue); margin: 0 0 14px; }
.aotw-feature__pitch { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 18px; }
.aotw-links { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.aotw-link {
  display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .02em; font-size: .85rem;
  color: var(--blue); border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 13px; background: var(--cream);
}
.aotw-link:hover { color: #fff; background: var(--blue); border-color: var(--blue); text-decoration: none; }
.aotw-feature__cta { margin-top: 18px; }

/* nomination benefits (backlink marketing) */
.aotw-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 760px; margin: 0 auto 30px; }
.aotw-benefit { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.aotw-benefit strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: 1.05rem; margin-bottom: 5px; }
.aotw-benefit span { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 720px) { .aotw-benefits { grid-template-columns: 1fr; } }

/* nomination form */
.aotw-formwrap { max-width: 760px; margin: 0 auto; }
.aotw-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: clamp(22px, 4vw, 34px);
}
.aotw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aotw-field { margin-bottom: 18px; }
.aotw-field--wide { grid-column: 1 / -1; }
.aotw-field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: .98rem; margin-bottom: 6px; }
.aotw-field .req { color: var(--red); margin-left: 2px; }
.aotw-field input, .aotw-field textarea {
  width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; font-size: 1rem; font-family: var(--font-body); color: var(--ink);
}
.aotw-field input:focus, .aotw-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,40,104,.08); }
.aotw-field textarea { resize: vertical; }
.aotw-field input[type="file"] { padding: .6em; background: var(--cream); cursor: pointer; }
.aotw-hint { display: block; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.aotw-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.aotw-actions .aotw-hint { margin-top: 0; max-width: 42ch; }
.aotw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aotw-notice { border-radius: 12px; padding: 18px 22px; margin-bottom: 22px; }
.aotw-notice strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; }
.aotw-notice p { margin: 0; }
.aotw-notice ul { margin: 6px 0 0 1.2em; }
.aotw-notice li { margin-bottom: 4px; }
.aotw-notice--ok { background: #e9f6ee; border: 1px solid #b6e0c4; color: #1d6b39; }
.aotw-notice--ok strong { color: #14532d; }
.aotw-notice--err { background: #fdecee; border: 1px solid #f3b9c2; color: #9c0726; }
.aotw-notice--err strong { color: var(--red-deep); }
@media (max-width: 720px) {
  .aotw-feature { grid-template-columns: 1fr; gap: 22px; text-align: center; padding: 24px; }
  .aotw-feature__media { max-width: 260px; margin: 0 auto; }
  .aotw-links { justify-content: center; }
  .aotw-grid { grid-template-columns: 1fr; }
  .aotw-actions { justify-content: center; text-align: center; }
}

/* ===== Q&A blocks (interviews) ===== */
.idfw-qa { margin: 8px 0; }
.idfw-qa__head { font-size: 1.6rem; margin: 0 0 16px; }
.idfw-qa__item { margin-bottom: 20px; padding-left: 18px; border-left: 3px solid var(--red); }
.idfw-qa__q { font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: 1.12rem; margin: 0 0 4px; }
.idfw-qa__a { color: var(--ink-soft); font-size: 1.05rem; }

/* ===== Ask a Local Pro directory cards ===== */
.pro-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .16s ease, box-shadow .2s ease; }
.pro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.pro-card__media { aspect-ratio: 4/3; background: var(--blue); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pro-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pro-card__placeholder .star { width: 56px; height: 56px; color: rgba(255,255,255,.3); }
.pro-card__body { padding: 18px 20px; }
.pro-card__role { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 9px; border-radius: 4px; margin-bottom: 10px; }
.pro-card__name { font-size: 1.2rem; color: var(--blue); margin: 0 0 4px; }
.pro-card__co { color: var(--ink-soft); font-size: .95rem; margin: 0 0 10px; }
.pro-card__read { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: .82rem; letter-spacing: .03em; color: var(--red); }

/* ===== Multi-step (chunked) forms ===== */
.idfw-step-progress { display: none; font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.js-stepform .idfw-step-progress { display: block; }
.js-stepform .idfw-step { display: none; }
.js-stepform .idfw-step.is-active { display: block; animation: idfw-fade .25s ease; }
@keyframes idfw-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.idfw-step__lead { font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: 1.1rem; margin: 0 0 18px; }
.idfw-step__nav { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.aotw-field select { width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-size: 1rem; font-family: var(--font-body); color: var(--ink); }
.aotw-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,40,104,.08); }
.idfw-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(191,10,48,.12) !important; }

/* ===== Disclaimer ===== */
.idfw-disclaimer { max-width: 980px; margin: 30px auto 0; padding: 16px 20px; background: var(--cream-2); border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.idfw-disclaimer strong { color: var(--ink-soft); }
.idfw-disclaimer a { color: var(--red); }

/* pagination */
.pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); padding: 0 10px; background: #fff; }
.pagination .page-numbers.current { background: var(--red); color: #fff; border-color: var(--red); }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .longhorn-watermark { width: 70vw; opacity: .7; }
}
@media (max-width: 720px) {
  .nav, .header-cta .btn, .header-book { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 22px 16px; box-shadow: var(--shadow); }
  .nav.open a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav.open .nav-book { display: block; color: var(--red); font-weight: 700; border-bottom: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
}
