/* Detection Canine Council — site styles */
:root {
  --navy: #14213d;
  --navy-2: #1f2f52;
  --red: #b3261e;
  --red-dark: #8f1d17;
  --steel: #aab6cc;
  --tint: #eef1f6;
  --ink: #1b1f27;
  --muted: #5a6273;
  --line: #dde1e8;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --max: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Top bar */
.topbar { background: var(--navy); color: #c8cfdc; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { color: #dfe4ee; text-decoration: none; }
.topbar-links a:hover { color: #fff; text-decoration: underline; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(20,33,61,.04); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand img { width: 48px; height: 48px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: .01em; line-height: 1.1; color: var(--navy); }
.brand-name small { display: block; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 30px 0 28px; border-bottom: 3px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--red); }
.nav-cta { padding: 10px 18px; font-size: 14.5px; margin-left: 6px; }
.menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 9px 14px; font: 600 14.5px var(--sans); color: var(--navy); cursor: pointer; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 80px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero p.lead { font-size: 1.2rem; color: #dfe4ee; max-width: 720px; }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; font-weight: 600; }
.page-head { background: var(--navy); color: #fff; padding: 48px 0 52px; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #dfe4ee; max-width: 760px; font-size: 1.1rem; margin: 0; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 4px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 2px solid var(--red); }
.btn-gold { background: var(--red); border-color: var(--red); color: #fff; }
.btn-gold:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-2); color: #fff; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .k { display: inline-block; width: 34px; height: 3px; background: var(--red); margin-bottom: 14px; }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px; position: relative; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.steps strong { display: block; color: var(--navy); margin-bottom: 4px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: #fff; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14.5px; }
tr:nth-child(even) td { background: #fafbfc; }

/* Lists */
ul.check { list-style: none; padding: 0; margin: 0 0 1em; }
ul.check li { padding-left: 28px; position: relative; margin-bottom: 10px; }
ul.check li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 11px; height: 6px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }

.callout { border-left: 4px solid var(--navy); background: var(--tint); padding: 18px 22px; border-radius: 0 6px 6px 0; margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }
.status { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; background: var(--tint); color: var(--navy); border: 1px solid #d5dbe5; }

/* Forms */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { font-weight: 600; font-size: 15px; color: var(--navy); }
.form input, .form select { width: 100%; padding: 11px 12px; border: 1px solid #c3c9d4; border-radius: 4px; font: inherit; }
.form input:disabled, .form button:disabled { opacity: .6; cursor: not-allowed; }
.form button { justify-self: start; }

/* Footer */
.site-footer { background: var(--navy); color: #c8cfdc; font-size: 14.5px; border-top: 4px solid var(--red); }
.site-footer > .wrap { padding-top: 56px; padding-bottom: 8px; }
.site-footer a { color: #e7ebf2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1.5fr 1fr 1fr 1fr; margin-bottom: 36px; }
.foot-brand .brand, .foot-brand .brand-name { color: #fff; }
.foot-brand .brand:hover { text-decoration: none; }
.foot-brand p { margin-top: 16px; max-width: 340px; line-height: 1.6; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 16px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.foot-disclaimer { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: 13px; color: #9fa9bb; }
.legal { background: #0e182d; font-size: 13px; color: #9fa9bb; }
.legal .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.legal nav { display: flex; gap: 22px; }
.legal a { color: #c8cfdc; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; min-height: 72px; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 16px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--navy); font-weight: 700; }
  .nav-cta { margin: 16px 0 0; text-align: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 56px; }
  section { padding: 48px 0; }
  .topbar-note { display: none; }
  .topbar .wrap { justify-content: center; }
  .brand-name { font-size: 1.12rem; }
  .brand-name small { font-size: .56rem; }
  .brand img { width: 40px; height: 40px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .result dl { grid-template-columns: 1fr; gap: 2px; }
  .result dd { margin-bottom: 10px; }
}

/* Form additions */
.form textarea { width: 100%; padding: 11px 12px; border: 1px solid #c3c9d4; border-radius: 4px; font: inherit; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid #3d6bb3; outline-offset: 1px; border-color: var(--navy); }
.form .opt { font-weight: 400; color: var(--muted); }
.form > div > label { display: block; margin-bottom: 5px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 15px; min-height: 1.4em; }
.form-status.error { color: #a1261b; }
.result { margin-top: 24px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.result-head { padding: 14px 20px; color: #fff; font-weight: 700; letter-spacing: .02em; }
.result-head.active { background: #1f6f43; }
.result-head.revoked, .result-head.none { background: #8a2a1f; }
.result-head.suspended { background: #4a4f5a; }
.result-head.expired { background: #5b6b86; }
.result dl { margin: 0; padding: 16px 20px; display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; }
.result dt { color: var(--muted); font-size: 15px; }
.result dd { margin: 0; font-weight: 600; color: var(--ink); }
.result p { padding: 16px 20px; margin: 0; }

/* Long-form pages */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 36px; }

/* Header fit */
.nav a, .brand-name, .brand-name small { white-space: nowrap; }
.brand-name small { letter-spacing: .12em; }
.nav { gap: 4px 22px; }

/* Hero layout with summary panel */
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-top: 3px solid var(--red); border-radius: 6px; padding: 28px 30px; }
.hero-panel h2 { color: #fff; font-size: 1.15rem; font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.hero-panel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: baseline; }
.hero-panel dt { font-family: var(--serif); font-size: 2rem; color: #fff; line-height: 1; font-weight: 600; text-align: right; }
.hero-panel dd { margin: 0; color: #dfe4ee; font-size: 15.5px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Phones: keep the logo and Menu button on one row */
@media (max-width: 560px) {
  .brand-name small { display: none; }
  .site-header .wrap { flex-wrap: wrap; }
  .topbar-links a[href^="/contact.html"]:last-child { display: none; }
}
/* The reCAPTCHA notice is shown under each form instead of the floating badge, as Google allows. */
.grecaptcha-badge { visibility: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-note a { color: var(--muted); }

/* The hidden attribute always wins over display rules */
[hidden] { display: none !important; }

/* Phones: logo and Menu button stay on one row */
@media (max-width: 560px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0 12px; }
  .site-header .brand { flex: 1 1 auto; min-width: 0; gap: 10px; }
  .menu-toggle { flex: none; padding: 8px 10px; }
  .nav { flex-basis: 100%; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 1rem; }
  .brand img { width: 34px; height: 34px; }
  .menu-toggle { font-size: 0; gap: 0; }
}
.result:focus { outline: none; box-shadow: 0 0 0 3px rgba(61,107,179,.35); }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps-list li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.steps-list strong { color: var(--navy); }
.steps-list span { display: block; color: var(--muted); font-size: 15px; }

/* Long documents: sticky table of contents beside the text */
.policy { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: start; }
.policy .prose { max-width: 820px; }
.toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); padding-left: 16px; font-size: 14.5px; }
.toc strong { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { color: var(--ink); text-decoration: none; padding: 4px 0; }
.toc a:hover { color: var(--navy); text-decoration: underline; }
.toc .toc-cta { margin-top: 14px; font-weight: 600; color: var(--navy); }
.prose h2 { scroll-margin-top: 110px; }
.prose h2:first-child, .prose .callout:first-child { margin-top: 0; }
.prose h3 { margin-top: 24px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .table-wrap { margin: 14px 0 18px; }
@media (max-width: 900px) { .policy { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } }

/* Sample contract clause */
.clause { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); padding: 20px 22px; font-family: var(--serif); font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.clause p { margin: 0; }

/* FAQ */
.faq > * { max-width: 860px; }
.faq h2 { margin-top: 36px; }
.faq h2:first-child { margin-top: 0; }
.faq details { border: 1px solid var(--line); border-radius: 6px; background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--slate, #5b6b86); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink); }

/* Page-head eyebrow on navy */
.page-head .eyebrow { margin-bottom: 10px; }
.page-head h1 { max-width: 900px; }

/* Warning list (red flags) */
ul.flags { list-style: none; padding: 0; margin: 0 0 1em; }
ul.flags li { padding-left: 30px; position: relative; margin-bottom: 10px; }
ul.flags li::before, ul.flags li::after { content: ""; position: absolute; left: 5px; top: 12px; width: 13px; height: 2px; background: var(--red); }
ul.flags li::before { transform: rotate(45deg); }
ul.flags li::after { transform: rotate(-45deg); }

/* Seal */
.brand img { width: 60px; height: 60px; }
.foot-brand .brand img { width: 64px; height: 64px; }
.hero-seal { display: block; width: 100%; max-width: 380px; margin: 0 auto; opacity: .96; }
@media (max-width: 560px) { .brand img { width: 44px; height: 44px; } }

/* At-a-glance band under the hero */
.stats { padding: 0; background: #fff; border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 26px; border-left: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--navy); font-weight: 600; border-top: 3px solid var(--red); padding-top: 8px; }
.stat .lbl { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .stats .wrap { grid-template-columns: 1fr; } .stat { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); } .stat:first-child { border-top: 0; } }

/* Emblem in header/footer; larger seal on the home banner so its lettering reads */
.brand img { width: 64px; height: 64px; }
.hero-seal { max-width: 460px; }
.hero-grid { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 560px) { .brand img { width: 46px; height: 46px; } }

/* Seal medallion on the navy banner and footer */
.hero-seal { border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.35); opacity: 1; }
.foot-brand .brand img { border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
