/* Jim'll Paint It — Quality Painters & Decorators, Est. 1999
   Bespoke build · Lora + Inter · Navy + warm cream + coral accent
   Composition: centred-text hero with photo triptych, numbered process,
   filterable gallery, horizontal testimonial scroll, 2-col minimal footer.
*/

:root{
  --navy: #1e3a5f;
  --navy-deep: #14253d;
  --navy-soft: #4a6789;
  --coral: #c25849;
  --coral-deep: #9b4339;
  --ink: #1a1a1a;
  --ink-soft: #555;
  --cream: #f7f1e8;
  --cream-deep: #eee3d2;
  --paper: #fdfaf3;
  --line: #d9cfbe;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{ scroll-behavior:smooth; }
body{
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 17px; line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: var(--navy); text-decoration: none; }
a:hover{ color: var(--coral); }

.serif{ font-family: 'Lora', Georgia, serif; }
.container{ width: min(1140px, 92vw); margin: 0 auto; }

/* HEADER */
.site-header{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.hd{
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo-mark{
  display: flex; align-items: baseline; gap: 12px;
  color: var(--ink); text-decoration: none;
}
.logo-mark .name{
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  color: var(--navy);
  letter-spacing: -.005em;
}
.logo-mark .name .pop{ color: var(--coral); font-style: italic; }
.logo-mark .since{
  display: none;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 12px; border-left: 1px solid var(--line);
}
@media (min-width: 760px){ .logo-mark .since{ display: inline-block; } }

.nv{ display: none; list-style: none; gap: 30px; align-items: center; }
@media (min-width: 880px){ .nv{ display: flex; } }
.nv a{
  color: var(--ink);
  font-size: .92rem; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nv a:hover, .nv a[aria-current="page"]{ color: var(--coral); }
.nv a::after{
  content: ''; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 2px; background: var(--coral);
  transition: width .22s ease;
}
.nv a:hover::after, .nv a[aria-current="page"]::after{ width: 100%; }

.phone-pill{
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral); color: #fff;
  padding: 10px 18px;
  font-size: .9rem; font-weight: 600;
  letter-spacing: .01em;
  border-radius: 999px;
  transition: background .2s ease;
}
.phone-pill:hover{ background: var(--coral-deep); color: #fff; }
.phone-pill svg{ width: 14px; height: 14px; }

.menu-btn{
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: 8px; cursor: pointer;
}
@media (min-width: 880px){ .menu-btn{ display: none; } }
.menu-btn span{ width: 24px; height: 2px; background: var(--ink); }
.mob-nav{
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mob-nav.open{ display: block; }
.mob-nav ul{ list-style: none; padding: 8px 24px 24px; }
.mob-nav li{ border-bottom: 1px solid var(--line); }
.mob-nav a{ display: block; padding: 14px 0; color: var(--ink); }

/* HERO — centred text + triptych underneath */
.hero{
  background: var(--cream);
  padding: 80px 0 0;
  text-align: center;
  position: relative;
}
.hero h1{
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--navy);
  max-width: 920px; margin: 0 auto 22px;
}
.hero h1 em{
  font-style: italic;
  color: var(--coral);
}
.hero .eyebrow{
  display: inline-block;
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--coral); font-weight: 600;
  margin-bottom: 24px;
}
.hero .lede{
  max-width: 660px; margin: 0 auto 36px;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--ink-soft); line-height: 1.55;
}
.hero-act{
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 64px;
}
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: .95rem; font-weight: 600;
  text-decoration: none;
  cursor: pointer; border: 0;
  transition: transform .15s ease, background .2s ease;
}
.btn-primary{ background: var(--coral); color: #fff; }
.btn-primary:hover{ background: var(--coral-deep); transform: translateY(-1px); color: #fff; }
.btn-outline{
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline:hover{ background: var(--navy); color: #fff; }
.btn-light{ background: #fff; color: var(--navy); }
.btn-light:hover{ background: var(--cream); }

.hero-tri{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 720px){ .hero-tri{ grid-template-columns: 1fr; } }
.hero-tri .pane{
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  filter: saturate(.92);
}

/* TRUST STRIP */
.trust{
  background: var(--navy);
  color: #fff;
  padding: 22px 0;
}
.trust-row{
  display: flex; align-items: center; justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.trust-row span{ display: flex; align-items: center; gap: 10px; }
.trust-row strong{ color: #fff; font-weight: 600; letter-spacing: .14em; }
.trust-dot{ width: 6px; height: 6px; background: var(--coral); border-radius: 50%; }

/* SECTION SHELL */
section{ padding: 88px 0; }
@media (max-width: 720px){ section{ padding: 64px 0; } }

.section-eyebrow{
  display: block;
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--coral); font-weight: 600;
  margin-bottom: 16px;
}
.section-title{
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08; letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-title em{ color: var(--coral); font-style: italic; }
.section-kicker{
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 580px;
}

/* About / Guarantee combined */
.about{ background: var(--paper); }
.about-grid{
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px;
  align-items: start;
}
@media (max-width: 880px){ .about-grid{ grid-template-columns: 1fr; gap: 40px; } }
.about p{ color: var(--ink-soft); margin-bottom: 18px; font-size: 1.02rem; }
.guarantee-card{
  background: var(--navy);
  color: #fff;
  padding: 48px 44px;
  position: relative;
}
.guarantee-card .gtag{
  display: inline-block;
  padding: 5px 12px;
  background: var(--coral); color: #fff;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}
.guarantee-card h3{
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 500;
  margin-bottom: 18px; color: #fff;
}
.guarantee-card h3 em{ color: #f0a08e; font-style: italic; }
.guarantee-card p{ color: rgba(255,255,255,.88); margin-bottom: 16px; }
.guarantee-points{
  list-style: none;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
}
.guarantee-points li{
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  font-size: .96rem;
  color: rgba(255,255,255,.92);
}
.guarantee-points li::before{
  content: '';
  flex: 0 0 18px; width: 18px; height: 18px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c25849' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

/* PROCESS — numbered vertical (distinct from Dixon offset grid) */
.process{ background: var(--cream); }
.process-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 880px;
}
.step{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 32px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  align-items: start;
  transition: transform .2s ease, border-color .2s ease;
}
@media (max-width: 720px){
  .step{ grid-template-columns: 1fr; gap: 12px; padding: 26px 24px; }
}
.step:hover{ border-color: var(--coral); transform: translateX(4px); }
.step .num{
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(3rem, 5.5vw, 4.4rem);
  font-weight: 400;
  color: var(--coral);
  line-height: 1;
  font-style: italic;
}
.step h3{
  font-family: 'Lora', Georgia, serif;
  font-size: 1.4rem; font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p{ color: var(--ink-soft); font-size: .98rem; }

/* GALLERY teaser on home */
.gal-teaser{ background: var(--paper); }
.gal-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 720px){ .gal-grid{ grid-template-columns: repeat(2, 1fr); } }
.gal-tile{
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  cursor: zoom-in;
  position: relative;
}
.gal-tile::after{
  content: ''; position: absolute; inset: 0;
  background: rgba(20,30,60,0);
  transition: background .25s ease;
}
.gal-tile:hover::after{ background: rgba(20,30,60,.2); }
.gal-link-row{
  margin-top: 36px; text-align: center;
}

/* TESTIMONIALS — horizontal scroll cards (distinct) */
.testimonials{ background: var(--navy); color: #fff; }
.testimonials .section-eyebrow{ color: #f0a08e; }
.testimonials .section-title{ color: #fff; }
.testimonials .section-title em{ color: #f0a08e; }
.testimonials .section-kicker{ color: rgba(255,255,255,.78); }
.t-scroll{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 360px);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--coral) transparent;
}
.t-scroll::-webkit-scrollbar{ height: 6px; }
.t-scroll::-webkit-scrollbar-thumb{ background: var(--coral); border-radius: 4px; }
.t-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 36px 32px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.t-card .qmark{
  font-family: 'Lora', Georgia, serif;
  font-size: 3.5rem; line-height: 1;
  color: var(--coral);
  margin-bottom: 12px;
}
.t-card blockquote{
  font-family: 'Lora', Georgia, serif;
  font-size: 1.08rem; line-height: 1.55;
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}
.t-card cite{
  font-style: normal;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: #f0a08e; font-weight: 600;
}

/* Long reference block */
.reference-block{ background: var(--cream); }
.ref-wrap{
  max-width: 820px; margin: 0 auto;
  position: relative;
  padding: 56px 64px;
  background: var(--paper);
  border-left: 4px solid var(--coral);
}
@media (max-width: 720px){ .ref-wrap{ padding: 36px 28px; } }
.ref-wrap p{
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem; line-height: 1.7;
  color: var(--ink); font-style: italic;
  margin-bottom: 22px;
}
.ref-wrap cite{
  font-style: normal;
  display: block;
  font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); font-weight: 700;
}

/* CTA BAND */
.cta-band{
  background: var(--coral);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.cta-band h2{
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 500;
  margin-bottom: 18px;
}
.cta-band h2 em{ color: var(--cream); font-style: italic; }
.cta-band p{ max-width: 560px; margin: 0 auto 32px; color: rgba(255,255,255,.92); font-size: 1.05rem; }
.cta-band .btn-light{ background: #fff; color: var(--navy); }
.cta-band .btn-outline{ border-color: rgba(255,255,255,.6); color: #fff; }
.cta-band .btn-outline:hover{ background: rgba(255,255,255,.1); color: #fff; }

/* CONTACT */
.contact{ background: var(--paper); }
.c-grid{
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: start;
}
@media (max-width: 880px){ .c-grid{ grid-template-columns: 1fr; gap: 40px; } }
.c-form{ background: var(--cream); padding: 40px 36px; border-top: 4px solid var(--coral); }
.c-form .row{ display: grid; gap: 16px; margin-bottom: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px){ .c-form .row{ grid-template-columns: 1fr; } }
.c-form label{
  display: block;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
  margin-bottom: 6px;
}
.c-form input, .c-form select, .c-form textarea{
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit; font-size: 1rem; color: var(--ink);
  border-radius: 0;
}
.c-form textarea{ min-height: 130px; resize: vertical; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus{
  outline: 2px solid var(--coral); outline-offset: -2px;
}
.c-form button{ width: 100%; margin-top: 12px; }
.c-form .promise{ margin-top: 14px; font-size: .8rem; color: var(--ink-soft); }
.c-details h3{
  font-family: 'Lora', Georgia, serif;
  font-size: 1.6rem; font-weight: 500;
  color: var(--navy);
  margin-bottom: 26px;
}
.c-details dl{ display: grid; grid-template-columns: 90px 1fr; row-gap: 18px; align-items: baseline; }
.c-details dt{
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--coral); font-weight: 700;
}
.c-details dd a{ color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.c-details dd a:hover{ color: var(--coral); }

/* FOOTER — 2-col minimal centred (distinct) */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
  text-align: center;
}
.foot-mark{
  font-family: 'Lora', Georgia, serif;
  font-size: 1.4rem; font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}
.foot-mark .pop{ color: #f0a08e; font-style: italic; }
.foot-tag{
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 32px;
}
.foot-links{
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.foot-links a{ color: rgba(255,255,255,.75); font-size: .95rem; }
.foot-links a:hover{ color: #fff; }
.foot-bottom{
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* PAGE HERO (gallery) */
.page-hero{
  background: var(--navy);
  color: #fff;
  padding: 88px 0 60px;
  text-align: center;
}
.page-hero h1{
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 18px;
}
.page-hero h1 em{ color: #f0a08e; font-style: italic; }
.page-hero p{ color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto; }
.page-hero .crumbs{
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(240,160,142,.85); margin-bottom: 20px;
}
.page-hero .crumbs a{ color: rgba(240,160,142,.85); }

/* Gallery page */
.gal-filters{
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin-bottom: 36px;
}
.gal-filter{
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 18px;
  font-family: inherit; font-size: .9rem; font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s ease;
}
.gal-filter:hover{ border-color: var(--coral); color: var(--coral); }
.gal-filter[aria-pressed="true"]{ background: var(--navy); color: #fff; border-color: var(--navy); }
.full-gal{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 880px){ .full-gal{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px){ .full-gal{ grid-template-columns: repeat(2, 1fr); } }
.full-gal .item{
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}
.full-gal .item[data-cat]::after{
  content: attr(data-cat);
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 14px 12px;
  background: linear-gradient(0deg, rgba(20,37,61,.78), transparent);
  color: #fff; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transition: opacity .25s ease;
}
.full-gal .item:hover::after{ opacity: 1; }
.full-gal .item.hide{ display: none; }

/* Lightbox */
.lb{
  position: fixed; inset: 0;
  background: rgba(10,15,30,.92);
  display: none; align-items: center; justify-content: center;
  padding: 24px; z-index: 100;
}
.lb.open{ display: flex; }
.lb img{ max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb-btn{
  position: absolute; background: transparent; border: 0;
  color: #fff; font-size: 28px; cursor: pointer;
  width: 52px; height: 52px;
}
.lb-close{ top: 16px; right: 16px; }
.lb-prev{ left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 16px; top: 50%; transform: translateY(-50%); }

/* Sticky mobile call */
.sticky{
  position: fixed; bottom: 14px; left: 14px; right: 14px;
  background: var(--coral); color: #fff;
  padding: 13px 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: .95rem;
  border-radius: 999px;
  z-index: 50;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(20,37,61,.3);
}
.sticky:hover{ color: #fff; }
@media (min-width: 900px){ .sticky{ display: none; } }
