/* About Time Real Estate — static rebuild of the GoDaddy theme */
:root {
  --green: #6a7d4b;          /* headings */
  --green-dark: #4d5542;
  --lime: #d9fd9f;           /* buttons */
  --lime-hover: #c1f35a;
  --ink: #242622;
  --text: #474747;
  --muted: #5e5e5e;
  --bg: #ffffff;
  --bg-alt: #f6f8f2;
  --dark: #161616;
  --line: #e4e8dc;
  --max: 1160px;
  --font: "Open Sans", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--green); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); text-align: center; }
h3 { font-size: 1.3rem; margin-top: 1.4em; }
h4 { font-size: 1.15rem; color: var(--ink); }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px;
  background: var(--lime); color: var(--ink); text-decoration: none;
  font: 700 .8rem/1.2 Helvetica, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  transition: background .15s;
}
.btn:hover { background: var(--lime-hover); color: var(--ink); }

/* ---------- Header / navigation ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: grid; grid-template-columns: auto auto auto auto; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; }
/* Bond Genius logo, top right: links to /bond-genius/ */
.bg-corner { display: block; align-self: start; border-radius: 6px; line-height: 0; transition: transform .15s, box-shadow .15s; }
.bg-corner img { width: 54px; height: auto; border-radius: 6px; }
.bg-corner:hover, .bg-corner:focus-visible { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.logo img { height: 96px; width: auto; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav.right { justify-content: flex-end; }
.nav > a, .nav summary {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; cursor: pointer; padding: 6px 0; white-space: nowrap;
}
@media (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav > a, .nav summary { font-size: .72rem; letter-spacing: .06em; }
  .logo img { height: 80px; }
}
.nav > a[aria-current="page"] { border-bottom: 2px solid var(--green); }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: " \25BE"; font-size: .7rem; }
.dropdown { position: relative; }
.dropdown > .menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 8px 0; margin: 0; list-style: none;
}
.nav.right .dropdown > .menu { left: auto; right: 0; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 7px 18px; color: var(--ink); text-decoration: none; font-size: .9rem; }
.menu a:hover { background: var(--bg-alt); color: var(--green); }
.menu .group { padding: 10px 18px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.menu .sub a { padding-left: 30px; }

.menu-toggle { display: none; }

@media (max-width: 1060px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo { order: 1; } .logo img { height: 64px; }
  .bg-corner { order: 3; align-self: center; } .bg-corner img { width: 44px; }
  .menu-toggle { display: block; order: 2; justify-self: end; background: none; border: 1px solid var(--line); padding: 8px 12px; font: 700 .8rem var(--font); letter-spacing: .08em; cursor: pointer; }
  .nav { display: none; grid-column: 1 / -1; order: 4; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.open .nav { display: flex; }
  .nav > a, .nav summary { padding: 12px 0; border-top: 1px solid var(--line); }
  .dropdown > .menu { position: static; box-shadow: none; border: 0; min-width: 0; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.hero-media { position: relative; overflow: hidden; display: grid; place-items: center; padding: 28px; background: #6b5b4e; }
.hero-media::before { content: ""; position: absolute; inset: -20px; background: var(--hero-bg) center/cover; filter: blur(18px) brightness(.85); }
.hero-media img { position: relative; max-height: 380px; width: auto; }
.hero-text { background: var(--dark); color: #d6d6d6; display: grid; place-content: center; text-align: center; padding: 40px 32px; }
.hero-text h1 { color: #f7f7f7; }
.hero-text strong { color: #fff; }
.hero-text .btn { margin: 8px auto; width: 280px; max-width: 100%; }
.hero-text .btn.alert-btn { background: transparent; border: 2px solid currentColor; color: #f7f7f7; margin-top: 16px; }
.hero-text .phones { font-weight: 700; color: #d6d6d6; margin-top: 14px; }
.hero-text .phones a { color: inherit; text-decoration: none; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } }

/* ---------- Content ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h1 { text-align: center; }
.prose h2 { text-align: left; margin-top: 1.4em; }
.prose img { margin: 24px auto; border-radius: 4px; max-height: 560px; width: auto; }
.prose figure { margin: 24px 0; text-align: center; }
.prose figure img { margin: 0 auto 8px; }
.prose figcaption { font-size: .85rem; color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0 1.5em; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; vertical-align: top; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 24px; } }

.downloads { list-style: none; padding: 0 !important; display: grid; gap: 10px; margin: 1.2em 0; }
.downloads a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; }
.downloads a:hover { border-color: var(--green); }
.downloads span { color: var(--green); font-weight: 700; font-size: .85rem; white-space: nowrap; }

/* ---------- Contact ---------- */
.hours { border-collapse: collapse; }
.hours td { padding: 3px 18px 3px 0; }

/* ---------- Blog ---------- */
.cats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; padding: 0; list-style: none; }
.cats a { padding: 6px 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .85rem; }
.cats a.on, .cats a:hover { border-color: var(--green); color: var(--green); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; margin: 0; border-radius: 0; max-height: none; }
.post-card .body { padding: 18px; }
.post-card h3 { font-size: 1.15rem; margin: 0 0 .4em; }
.post-card h3 a { text-decoration: none; }
.meta { font-size: .8rem; color: var(--muted); margin-bottom: .8em; }

/* ---------- Footer ---------- */
.social { display: flex; justify-content: center; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; text-align: center; font-size: .85rem; color: var(--muted); }
.site-footer a { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.social { gap: 12px; flex-wrap: wrap; }
.social img { width: 20px; height: 20px; display: block; }
.social a.text { width: auto; padding: 0 16px; border-radius: 22px; font: 700 .78rem var(--font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.reviews-intro { text-align: center; margin: 22px 0 10px; color: var(--muted); }
.reviews { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.reviews .review { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 2px solid var(--green); border-radius: 24px; background: #fff; color: var(--green); font-weight: 700; text-decoration: none; }
.reviews .review:hover { background: var(--green); color: #fff; }
.reviews svg, .reviews img { width: 20px; height: 20px; flex: none; fill: currentColor; }
.reviews img.wide { width: auto; height: 20px; }
/* TikTok's official file has wide margins around the note; scale it to match the others */
.social img[src*="tiktok"] { width: 34px; height: 34px; }

/* tables that turn into labelled cards on phones */
@media (max-width: 640px) {
  .prose table.stack, .prose table.stack tbody, .prose table.stack tr, .prose table.stack td { display: block; width: 100%; }
  .prose table.stack thead { display: none; }
  .prose table.stack tr { border: 1px solid var(--line); border-radius: 6px; margin-bottom: 14px; }
  .prose table.stack td { border: 0; border-top: 1px solid var(--line); padding: 8px 12px; }
  .prose table.stack td:first-child { border-top: 0; font-weight: 600; background: #f4f6f4; }
  .prose table.stack td:not(:first-child)::before { content: attr(data-label); display: block; font-size: .8rem; color: var(--muted); }
}

/* alert message from the CRM, under the menu bar (site.js) */
.ticker { background: #3c4a2a; color: #fff; overflow: hidden; white-space: nowrap; padding: 9px 0; font-weight: 600; }
.ticker a { color: #e6f7b0; text-decoration: underline; }
.ticker-track { display: inline-block; padding-left: 100%; animation: ticker 20s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { white-space: normal; text-align: center; padding: 9px 16px; }
  .ticker-track { padding-left: 0; animation: none; }
}
