/* ============================================================
   VisitAnyCityUSA — site styles
   To change colors site-wide, edit the variables in :root below.
   ============================================================ */

:root {
  --brand:        #0a6b6b;
  --brand-dark:   #074f4f;
  --brand-light:  #e7f3f3;
  --ink:          #1c2426;
  --ink-soft:     #50605f;
  --line:         #dde5e5;
  --bg:           #ffffff;
  --bg-soft:      #f6faf9;
  --gold:         #c9821f;
  --max-width:    1080px;
  --radius:       10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); line-height: 1.65; font-size: 18px;
}
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Links & headings */
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: 2.2rem; margin: 0 0 .5rem; }
h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; padding-top: .4rem; }
h3 { font-size: 1.2rem; margin: 1.4rem 0 .5rem; }

/* Header / nav */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--brand-dark); letter-spacing: -.5px; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 20px; }
}

/* Layout helpers */
main { padding: 28px 0 56px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.breadcrumb { font-size: .9rem; color: var(--ink-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-soft); }

.answer-first { background: var(--brand-light); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 16px 20px; margin: 18px 0; font-size: 1.05rem; }

/* Cards / grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--bg-soft); }
.card h3 { margin-top: 0; }

/* Affiliate / CTA */
.affiliate { border: 1px dashed var(--gold); background: #fff8ee; border-radius: var(--radius); padding: 16px 18px; margin: 18px 0; }
.affiliate .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; }
.btn { display: inline-block; background: var(--gold); color: #fff; padding: 11px 18px; border-radius: 8px; font-weight: 700; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { background: #a96a17; text-decoration: none; color: #fff; }
.btn-brand { background: var(--brand); }
.btn-brand:hover { background: var(--brand-dark); }

/* Tables */
table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: .98rem; }
th, td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
th { background: var(--bg-soft); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px; margin: 10px 0; background: var(--bg-soft); }
.faq summary { font-weight: 700; cursor: pointer; padding: 10px 0; }

/* Tool form */
.tool-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 11px 12px; font-size: 1rem; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font); }
/* Checkboxes & radios keep their natural size and sit inline before their text */
.field input[type="checkbox"], .field input[type="radio"] { width: auto; padding: 0; border: 0; border-radius: 0; margin: 0 8px 0 0; vertical-align: middle; }
.field label:has(input[type="checkbox"]), .field label:has(input[type="radio"]) { font-weight: 400; display: flex; align-items: center; }
.field .hint { font-size: .85rem; color: var(--ink-soft); margin-top: 4px; }
.result { margin-top: 22px; padding: 20px; border-radius: var(--radius); background: var(--brand-light); border: 1px solid var(--brand); }
.result .big { font-size: 2.2rem; font-weight: 800; color: var(--brand-dark); }
.result .row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.result .row:last-child { border-bottom: 0; }

/* "Check live prices" deep-link widget */
.deeplink-box { border: 1px solid var(--brand); background: var(--brand-light); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }
.deeplink-label { font-weight: 800; color: var(--brand-dark); margin-bottom: 12px; }
.deeplink-fields { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.deeplink-fields label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 600; color: var(--ink-soft); flex: 1 1 140px; }
.deeplink-fields input { margin-top: 4px; padding: 9px 10px; font-size: 1rem; font-family: var(--font); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.deeplink-note { font-size: .82rem; color: var(--ink-soft); margin: 10px 0 0; }
.dl-quicks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dl-quick { display: inline-block; background: #fff; border: 1px solid var(--brand); color: var(--brand-dark); border-radius: 999px; padding: 5px 13px; font-size: .9rem; font-weight: 600; }
.dl-quick:hover { background: var(--brand); color: #fff; text-decoration: none; }
.deeplink-intro { margin: 0 0 14px; color: var(--ink-soft); }
@media (max-width: 600px){ .deeplink-fields label { flex: 1 1 100%; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 32px 0; margin-top: 40px; font-size: .92rem; color: var(--ink-soft); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer a { color: var(--ink-soft); }
.site-footer h4 { margin: 0 0 10px; color: var(--ink); font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 5px 0; }
.disclosure { font-size: .82rem; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
