/* JPG Property Maintenance – main stylesheet */
:root {
  --orange: #F47A1F;
  --orange-text: #B4500E;   /* orange that passes contrast on light backgrounds */
  --orange-soft: #FFB27A;   /* orange for links on dark backgrounds */
  --charcoal: #2B2B2B;
  --ink: #1F1F1F;
  --logo-grey: #545454;
  --paper: #F6F4F1;
  --white: #FFFFFF;
  --text: #222222;
  --muted: #4A4A4A;
  --muted-dark: #D6D6D6;
  --line: #BDBDBD;
  --display: 'Rubik', 'Arial Rounded MT Bold', 'Helvetica Neue', sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Helvetica, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.5; color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--orange-text); text-decoration: none; }
a:hover { color: #8A3C09; }
h1, h2, h3 { font-family: var(--display); color: inherit; margin: 0; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 14px; }
.eyebrow--light { color: var(--orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 8px; font-family: var(--display); font-weight: 700; font-size: 19px; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #FF8F3D; color: var(--ink); }
.btn--outline { border-color: var(--white); color: var(--white); font-weight: 600; }
.btn--outline:hover { background: var(--white); color: var(--ink); }
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 17px; }
.btn--block { width: 100%; }

/* Top bar */
.topbar { background: var(--ink); color: #D9D9D9; font-size: 15px; }
.topbar a { color: var(--orange-soft); display: inline-flex; gap: 8px; align-items: center; }
.topbar a:hover { color: var(--white); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 16px; }
.topbar__contact { display: flex; gap: 28px; }

/* Header */
.header { background: var(--logo-grey); position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; justify-content: space-between; align-items: center; min-height: 112px; gap: 24px; }
.header__logo img { height: 84px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; font-family: var(--display); font-weight: 600; font-size: 17px; }
.nav a:not(.btn) { color: var(--white); }
.nav a:not(.btn):hover { color: var(--orange-soft); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 10px; background: #3F3F3F; color: var(--white); align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--charcoal); color: var(--white); min-height: 640px; }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 64px 64px 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero__text .eyebrow { margin-bottom: 0; }
.hero h1 { font-weight: 800; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.02; letter-spacing: -.01em; }
.hero__lead { font-size: 21px; color: var(--muted-dark); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__guarantee { display: flex; gap: 12px; align-items: center; font-size: 17px; color: #EEEEEE; }
.hero__guarantee svg, .badge svg { color: var(--orange); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }

/* Service strip */
.strip { background: var(--orange); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 18px; }
.strip ul { list-style: none; margin: 0 auto; padding: 22px var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; }
.strip li + li::before { content: "•"; margin-right: 30px; }

/* Sections */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--white { background: var(--white); }
.section h2 { font-weight: 800; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.06; color: var(--ink); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.section__intro { font-size: 19px; color: var(--muted); max-width: 520px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { background: var(--white); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.card img { width: 100%; height: 230px; object-fit: cover; }
.card img.pos-top { object-position: 50% 25%; }
.card__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-weight: 700; font-size: 25px; color: var(--ink); }
.card p { color: var(--muted); }
.card__link { font-weight: 700; margin-top: 4px; }
.services__stack { display: flex; flex-direction: column; gap: 28px; }
.card--dark { background: var(--charcoal); color: var(--white); padding: 32px; gap: 14px; flex-grow: 1; }
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--muted-dark); }
.icon-tile { width: 56px; height: 56px; border-radius: 12px; background: var(--orange); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-tile--light { background: var(--paper); color: var(--orange-text); }

/* Damp */
.damp { display: grid; grid-template-columns: 1fr 1fr; background: var(--charcoal); color: var(--white); }
.damp__media { position: relative; min-height: 420px; }
.damp__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 40px; bottom: 40px; background: var(--orange); color: var(--ink); border-radius: 14px; padding: 22px 26px; display: flex; gap: 16px; align-items: center; }
.badge svg { color: var(--ink); stroke-width: 1.8; }
.badge strong { display: block; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; margin-bottom: 4px; }
.badge span { font-weight: 600; font-size: 17px; }
.damp__text { padding: clamp(56px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) clamp(56px, 7vw, 96px) 80px; display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.damp__text .eyebrow { margin-bottom: -14px; }
.damp__text h2 { font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; }
.damp__intro { font-size: 19px; color: var(--muted-dark); }
.damp__list { list-style: none; margin: 0; padding: 0; counter-reset: damp; }
.damp__list li { counter-increment: damp; position: relative; padding: 0 0 22px 56px; margin-bottom: 22px; border-bottom: 1px solid #444; }
.damp__list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.damp__list li::before { content: counter(damp, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--orange); }
.damp__list h3 { font-weight: 700; font-size: 23px; margin-bottom: 6px; }
.damp__list p { color: var(--muted-dark); }
.pill { font-family: var(--body); font-size: 15px; font-weight: 700; background: var(--orange); color: var(--ink); padding: 4px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }
.damp .btn { align-self: flex-start; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 24px; }
.about__text .eyebrow { margin-bottom: -10px; }
.about__text > p:not(.eyebrow) { font-size: 19px; color: var(--muted); line-height: 1.6; }
.about__img { width: 100%; height: 440px; object-fit: cover; border-radius: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ticks li { background: var(--white); border-radius: 10px; padding: 16px 18px 16px 50px; font-weight: 600; font-size: 17px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 10px; height: 18px; border: solid var(--orange-text); border-width: 0 3px 3px 0; transform: translateY(-65%) rotate(45deg); }

/* Steps */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--paper); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.steps li::before { content: counter(step); width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-weight: 700; font-size: 24px; color: var(--ink); }
.steps p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__info .eyebrow { margin-bottom: -10px; }
.contact__info > p:not(.eyebrow) { font-size: 19px; color: var(--muted); }
.contact-card { display: flex; gap: 18px; align-items: center; background: var(--white); color: var(--ink); border-radius: 14px; padding: 24px 28px; }
.contact-card:hover { color: var(--ink); box-shadow: 0 0 0 2px var(--orange); }
.contact-card small { display: block; font-size: 16px; color: #5A5A5A; }
.contact-card strong { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2vw, 24px); word-break: break-word; }
.contact-card--dark { background: var(--charcoal); color: var(--white); }
.contact-card--dark:hover { color: var(--white); }
.contact-card--dark small { color: #CFCFCF; }
.contact-card .big { font-weight: 800; font-size: 30px; }

.quote { background: var(--white); border-radius: 18px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.06); align-self: start; }
.quote h3 { font-weight: 700; font-size: 28px; color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 16px; font-weight: 600; color: #333; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 14px; min-height: 52px; background: var(--white); color: var(--text); width: 100%; }
.field textarea { padding: 12px 14px; min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange-text); outline: 2px solid var(--orange); outline-offset: 0; }

/* Footer */
.footer { background: var(--ink); color: #BDBDBD; padding: 72px 0 40px; font-size: 17px; }
.footer a { color: var(--orange-soft); }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer__grid p { margin-bottom: 10px; }
.footer__logo { width: 320px; border-radius: 8px; }
.footer__title { font-weight: 700; font-size: 18px; color: var(--white); margin-bottom: 16px; }
.footer__base { border-top: 1px solid #3A3A3A; margin-top: 48px; padding-top: 24px; font-size: 15px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Mobile call bar */
.callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .damp__text { padding-left: 48px; }
  .about, .contact { gap: 48px; }
}

@media (max-width: 900px) {
  body { padding-bottom: 76px; }
  .topbar { display: none; }
  .header__inner { min-height: 76px; }
  .header__logo img { height: 56px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--logo-grey); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; box-shadow: 0 8px 16px rgba(0,0,0,.2); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #666; }
  .nav .btn { margin-top: 16px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; }
  .hero__media img { height: 280px; }
  .hero__text { padding: 36px var(--gutter) 44px; gap: 20px; }
  .hero__lead { font-size: 18px; }
  .hero__actions .btn { flex: 1 1 100%; }

  .strip { display: none; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .services { grid-template-columns: 1fr; gap: 20px; }
  .card img { height: 190px; }
  .card__body { padding: 20px; }
  .card h3 { font-size: 22px; }
  .services__stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .card--dark { padding: 20px; }
  .card--dark p { display: none; }
  .card--dark h3 { font-size: 19px; }
  .icon-tile { width: 44px; height: 44px; }

  .damp { grid-template-columns: 1fr; }
  .damp__media { min-height: 240px; }
  .badge { left: 20px; right: 20px; bottom: 20px; padding: 16px 18px; }
  .badge strong { font-size: 22px; }
  .damp__text { padding: 44px var(--gutter); }
  .damp .btn { align-self: stretch; }

  .about, .contact { grid-template-columns: 1fr; }
  .about__img { height: 240px; order: -1; }
  .about__text { order: 1; }
  .ticks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__logo { width: 260px; }

  .callbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--charcoal); }
  .callbar .btn { flex: 1; min-height: 52px; font-size: 17px; padding: 0 12px; }
}
