/* ============================================================
   Jarquin Property Services — brand stylesheet
   Navy #16283c · Brass #b9975b · Playfair Display + Montserrat
   ============================================================ */

:root {
  --navy: #16283c;
  --navy-deep: #0f1c2b;
  --navy-soft: #1d2f4a;
  --brass: #b9975b;
  --brass-soft: #cbb083;
  --paper: #faf8f3;
  --white: #ffffff;
  --ink: #22303d;
  --ink-soft: #51606e;
  --line: rgba(22, 40, 60, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --maxw: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Signature: brass rule eyebrow (from the wordmark) ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  height: 2px;
  width: 64px;
  background: var(--brass);
  flex: none;
}
.eyebrow.left { justify-content: flex-start; }
.eyebrow.left::after { display: none; }

/* ---------- Type ---------- */

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }

.lede { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--brass-soft); }
.nav-links { display: flex; gap: 30px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--brass);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 15px 30px;
  border-radius: var(--radius);
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--brass-soft); transform: translateY(-1px); }
.btn.small { padding: 11px 20px; font-size: 12px; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero h1 { max-width: 820px; margin: 0 auto 26px; }
.hero .lede { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin: 0 auto 40px; }
.hero .actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero .ghost {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 8px;
  border-bottom: 2px solid var(--brass);
}
.hero .ghost:hover { color: var(--brass-soft); }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section.navy { background: var(--navy); color: var(--white); }
.section.white { background: var(--white); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section.navy .lede { color: rgba(255, 255, 255, 0.75); }

/* ---------- Who we serve ---------- */

.serve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.serve-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.serve-card h3 { margin-bottom: 12px; }
.serve-card p { color: var(--ink-soft); }

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 38px 30px 34px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: var(--brass); transform: translateY(-3px); }
.service-card img { height: 108px; width: auto; margin: 0 auto 22px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.about-copy p + p { margin-top: 18px; }
.about-copy .lede { margin-top: 18px; }
.promise-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
}
.promise-card .eyebrow { margin-bottom: 26px; }
.promise-card ul { list-style: none; }
.promise-card li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 0.98rem;
}
.promise-card li:last-child { border-bottom: none; }
.promise-card li::before { content: "—"; color: var(--brass); font-weight: 700; }

/* ---------- Service area ---------- */

.area-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.towns span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
}
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(0.85) contrast(0.95);
}

/* ---------- Quote form ---------- */

.quote-form { max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 16px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass);
}
.field select { appearance: none; }
.field option { color: var(--ink); }
.quote-form .btn { width: 100%; padding: 18px; font-size: 14px; }
.form-note {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 18px;
}
.form-note a { color: var(--brass-soft); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 40px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 50px;
}
.site-footer img { height: 52px; width: auto; margin-bottom: 20px; }
.site-footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
}
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: var(--brass-soft); }
.site-footer li { list-style: none; padding: 5px 0; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Terms page ---------- */

.terms-body { max-width: 780px; margin: 0 auto; padding: 80px 24px 100px; }
.terms-body h1 { text-align: center; margin-bottom: 8px; }
.terms-meta { text-align: center; color: var(--ink-soft); margin-bottom: 8px; }
.terms-body .eyebrow { margin-top: 26px; margin-bottom: 40px; }
.terms-body h3 { margin: 34px 0 10px; }
.terms-body p { color: var(--ink-soft); }
.terms-contact {
  margin-top: 56px;
  border-top: 3px solid var(--brass);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 32px 36px;
}

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .area-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
}

@media (max-width: 620px) {
  .section { padding: 70px 0; }
  .hero { padding: 80px 0 90px; }
  .serve-grid, .services-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
}

/* ============================================================
   "More alive" layer: hero art, motion, texture, dividers
   ============================================================ */

/* Hero: two-column with illustration */
.hero { text-align: left; padding-bottom: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 90px;
}
.hero-copy h1 { margin: 0 0 24px; max-width: none; }
.hero-copy .lede { margin: 0 0 38px; max-width: 520px; }
.hero .actions { justify-content: flex-start; }
.hero-art svg { width: 100%; height: auto; opacity: 0.95; }

/* Brass glow + texture on navy surfaces */
.hero {
  background:
    radial-gradient(720px 340px at 82% 88%, rgba(185, 151, 91, 0.16), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.section.navy {
  background:
    radial-gradient(640px 320px at 12% 8%, rgba(185, 151, 91, 0.10), transparent 70%),
    linear-gradient(165deg, var(--navy) 0%, #14243a 100%);
}

/* Wave divider */
.wave { line-height: 0; }
.wave svg { width: 100%; height: 70px; display: block; }

/* Hero entrance: staggered rise */
.rise { opacity: 0; transform: translateY(22px); animation: rise 0.7s ease forwards; }
.r1 { animation-delay: 0.05s; }
.r2 { animation-delay: 0.18s; }
.r3 { animation-delay: 0.32s; }
.r4 { animation-delay: 0.46s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Sparkle + droplet twinkle */
.tw { animation: twinkle 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.t1 { animation-delay: 0s; }
.t2 { animation-delay: 0.7s; }
.t3 { animation-delay: 1.3s; }
.t4 { animation-delay: 1.9s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* Town marquee */
.marquee {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 26px;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: slide 36s linear infinite;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.marquee-track i { color: var(--brass); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Button sheen sweep */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn:hover::after { left: 130%; }

/* Card life */
.service-card { background: rgba(255, 255, 255, 0.025); }
.service-card img { transition: transform 0.25s ease; }
.service-card:hover img { transform: translateY(-6px); }
.serve-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.serve-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(22, 40, 60, 0.35); }
.towns span { transition: border-color 0.2s ease, color 0.2s ease; }
.towns span:hover { border-color: var(--brass); color: var(--navy); }

/* Reduced motion: stillness with dignity */
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .tw { animation: none; opacity: 1; }
  .marquee-track { animation: none; }
  .btn::after { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; padding-bottom: 70px; }
  .hero .actions { justify-content: center; }
  .hero-copy .eyebrow.left { justify-content: center; }
  .hero-copy .eyebrow.left::after { display: inline-block; content: ""; height: 2px; width: 64px; background: var(--brass); }
  .hero-art { max-width: 440px; margin: 0 auto; }
}

/* v3: centered typographic hero (illustration retired) */
.hero.hero-center { text-align: center; }
.hero.hero-center .wrap { padding-top: 0; padding-bottom: 100px; }
.hero.hero-center h1 { max-width: 860px; margin: 0 auto 26px; }
.hero.hero-center .lede { max-width: 560px; margin: 0 auto 40px; }
.hero.hero-center .actions { justify-content: center; }

/* v4: trust chips + stats band (structure inspired by real contractor sites) */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  margin-top: 34px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.trust span::first-letter { color: var(--brass); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.diff-card {
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 32px 26px;
  background: rgba(255, 255, 255, 0.025);
}
.diff-big {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.6rem;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 8px;
}
.diff-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}
.diff-card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.68); }

@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } .trust { gap: 10px 18px; } }

/* v5: photo-card contractor layout */
.pcard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pcard:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -24px rgba(22, 40, 60, 0.4); }
.pcard-media {
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(320px 160px at 78% 90%, rgba(185, 151, 91, 0.22), transparent 70%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-size: cover;
  background-position: center;
}
.pcard-media img { height: 104px; width: auto; }
.pcard-body { padding: 26px 26px 30px; }
.pcard-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.pcard-body p { font-size: 0.94rem; color: var(--ink-soft); }

/* Area cards */
.area-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.area-card h3 { font-size: 1.02rem; font-family: "Montserrat", sans-serif; font-weight: 700; margin-bottom: 6px; }
.area-card p { font-size: 0.88rem; color: var(--ink-soft); }

/* Header phone */
.nav-phone {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--brass-soft); }

/* Big phone in quote head */
.phone-big {
  display: inline-block;
  margin-top: 26px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--brass);
  text-decoration: none;
}
.phone-big:hover { color: var(--brass-soft); }

@media (max-width: 900px) { .pcard-grid { grid-template-columns: 1fr 1fr; } .nav-phone { display: none; } }
@media (max-width: 620px) { .pcard-grid, .area-cards { grid-template-columns: 1fr; } }


/* PWNA membership badge */
.badge-wrap{grid-column:2;text-align:center;margin-top:18px}
.badge-label{font:600 10px Montserrat,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:var(--brass);margin-bottom:10px}
.badge-wrap iframe{margin:0 auto;border:0;max-width:144px}
@media (max-width:900px){.badge-wrap{grid-column:1}}
