/* ═══════════════════════════════════════════
   PJN Plastering & Tiling — Business Edition
   ═══════════════════════════════════════════ */

:root {
  --bg:        #fafaf8;
  --bg-alt:    #f2f1ee;
  --surface:   #ffffff;
  --ink:       #18191d;
  --ink2:      #2e3037;
  --muted:     #6e717a;
  --muted2:    #9a9da6;
  --accent:    #1a365d;
  --accent-hv: #254974;
  --accent-lt: #e8eef5;
  --border:    #e4e4e2;
  --border2:   #d8d7d4;
  --shadow:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.03);
  --max:       1200px;
  --radius:    10px;
  --font-head: 'Barlow Condensed', Impact, sans-serif;
  --font-body: Manrope, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font-body);
}

a { color: inherit; text-decoration: none; }

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

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .3s, box-shadow .3s;
}

.top.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.04);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .5px;
  position: relative;
  z-index: 2;
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font: 800 18px var(--font-head);
  letter-spacing: -1px;
}

.brand-text small {
  display: block;
  font-size: 8.5px;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 700;
}

.links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  flex-wrap: wrap;
}

.links a {
  padding: 4px 0;
  transition: color .2s;
}

.links a:hover { color: var(--ink); }

/* ── Buttons ──────────────────────────── */

.call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}

.call:hover { transform: translateY(-1px); }

.call--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 54, 93, .18);
}

.call--primary:hover {
  background: var(--accent-hv);
  box-shadow: 0 4px 14px rgba(26, 54, 93, .22);
}

.call--large {
  padding: 15px 28px;
  font-size: 16px;
  border-radius: 8px;
}

.call--outline {
  background: transparent;
  border: 1.5px solid var(--border2);
  color: var(--ink2);
}

.call--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Menu button ──────────────────────── */

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--border2);
  border-radius: 7px;
  background: var(--surface);
  cursor: pointer;
  place-items: center;
  position: relative;
  z-index: 2;
  transition: border-color .2s;
}

.menu-btn:hover { border-color: var(--accent); }

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink2);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
}

.menu-icon::before { transform: translateY(-5px); }
.menu-icon::after  { transform: translateY(5px); }

.menu-btn.is-open .menu-icon { background: transparent; }
.menu-btn.is-open .menu-icon::before { transform: rotate(45deg); }
.menu-btn.is-open .menu-icon::after  { transform: rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hero {
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  display: block;
  transform: translateY(0);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 10, 16, 0.62);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content { max-width: 620px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  color: #e8eef5;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font: 800 clamp(48px, 6vw, 80px)/.95 var(--font-head);
  text-transform: uppercase;
  letter-spacing: -.5px;
  margin: 0 0 20px;
  color: #fff;
}

.intro {
  font-size: 17px;
  color: #bcc5d4;
  margin: 0 0 28px;
  max-width: 460px;
  line-height: 1.7;
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .call--primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.hero .call--primary:hover {
  background: #f0f2f5;
}

.hero .call--outline {
  border-color: rgba(255,255,255,.3);
  color: #fff;
}

.hero .call--outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,.08);
}

/* Stats */
.stats {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  gap: 44px;
  padding-top: 20px;
}

.stat small {
  display: block;
  color: #8e9ab0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.stat b {
  font: 800 26px var(--font-head);
  text-transform: uppercase;
  color: #fff;
  display: block;
  margin-top: 1px;
}



/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */

.section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 44px;
}

.section-head--center {
  text-align: center;
}

.kicker {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font: 800 clamp(38px, 4.5vw, 60px)/1.05 var(--font-head);
  text-transform: uppercase;
  letter-spacing: -.3px;
  margin: 0 0 12px;
  color: var(--ink);
}

.lead {
  color: var(--muted);
  max-width: 480px;
  font-size: 16px;
  margin: 0;
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border2);
}

.service-num {
  font: 900 56px/1 var(--font-head);
  color: var(--accent-lt);
  position: absolute;
  top: 14px;
  right: 18px;
  user-select: none;
}

.service-card h3 {
  font: 800 28px var(--font-head);
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--ink);
}

.service-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.service-card li {
  padding: 6px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.service-card li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.about-img {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted2);
  font-size: 14px;
  font-weight: 600;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text p {
  color: var(--ink2);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink2);
}

.about-highlight-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-lt);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════ */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}

.project:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.project:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.project-img {
  height: 240px;
  overflow: hidden;
  background: var(--bg-alt);
}

.project:first-child .project-img { height: 494px; }

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.project:hover .project-img img {
  transform: scale(1.05);
}

.project figcaption {
  padding: 12px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink2);
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════ */

.reviews {
  background: var(--bg-alt);
}

.review-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  font-weight: 700;
  color: var(--ink2);
}

.stars-row {
  color: #e2a01b;
  font-size: 20px;
  letter-spacing: 1px;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #e2a01b;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.review-card p {
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--accent-lt);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.review-author strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.review-author small {
  font-size: 12px;
  color: var(--muted2);
}

.review-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding: 12px 20px;
  border: 1.5px solid var(--border2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink2);
  transition: border-color .2s, color .2s, transform .2s;
}

.review-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */

.cta {
  background: var(--accent);
  color: #fff;
  padding: 85px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.cta-content h2 {
  font: 800 clamp(40px, 5vw, 62px)/1.05 var(--font-head);
  text-transform: uppercase;
  letter-spacing: -.3px;
  margin: 0 0 16px;
}

.cta-content p {
  color: #c5d1e0;
  font-size: 16px;
  margin: 0 0 28px;
  max-width: 400px;
}

.cta .call--primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.cta .call--primary:hover {
  background: #f0f2f5;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.cta-details {
  display: grid;
  gap: 14px;
}

.detail-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: background .25s, transform .25s;
}

.detail-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateX(4px);
}

.detail-card--link {
  cursor: pointer;
}

.detail-card--link:hover {
  background: rgba(255,255,255,.15);
}

.detail-icon {
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.detail-icon--fb {
  font-weight: 800;
  font-size: 18px;
  font-family: var(--font-head);
}

.detail-icon--maps {
  font-size: 20px;
}

.detail-card small {
  display: block;
  color: #b0c4db;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}

.detail-card b {
  font-size: 15px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  padding: 26px 0 22px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-mark {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font: 800 15px var(--font-head);
  color: #fff;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.footer-brand small {
  color: var(--muted2);
  font-size: 12px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 1.5px solid var(--border2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink2);
  transition: border-color .2s, background .2s, color .2s;
}

.footer-social-link:hover {
  border-color: var(--accent);
  background: var(--accent-lt);
  color: var(--accent);
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink2);
  margin-left: 8px;
  transition: color .2s;
}

.footer-rating:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted2);
}

/* ═══════════════════════════════════════════
   MOBILE CALL BUTTON
   ═══════════════════════════════════════════ */

.mobile-call {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 60;
  justify-content: center;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 54, 93, .3);
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════ */

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }

  .nav { height: 64px; gap: 10px; }

  .brand-text { font-size: 10px; }

  .mark {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .links {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    padding: 14px 20px 20px;
    background: rgba(250, 250, 248, .98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    display: none;
    flex-direction: column;
    gap: 0;
  }

  .links.is-open { display: flex; }

  .links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }

  .menu-btn { display: grid; }

  .nav .call { font-size: 12px; padding: 9px 13px; }

  /* Hero */
  .hero { padding: 48px 0 60px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero h1 { font-size: clamp(40px, 9vw, 56px); }

  .hero-bg img { height: 110%; }

  .stats { gap: 28px; }

  /* Sections */
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: clamp(32px, 7vw, 44px); }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 26px 22px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img { aspect-ratio: 4 / 3; max-width: 400px; }
  .about-highlights { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }

  .project:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .project-img,
  .project:first-child .project-img {
    height: 190px;
  }
  .project:first-child .project-img { height: 280px; }

  /* Reviews */
  .review-cards { grid-template-columns: 1fr; }

  /* CTA */
  .cta { padding: 60px 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }

  .cta-content h2 { font-size: clamp(34px, 8vw, 46px); }

  /* Footer */
  .footer { padding-bottom: 80px; }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-socials { flex-wrap: wrap; }

  /* Mobile call */
  .mobile-call { display: flex; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 38px; }
  .buttons { flex-direction: column; }
  .call--primary, .call--outline { justify-content: center; }

  .gallery { grid-template-columns: 1fr; }
  .project:first-child { grid-column: auto; }
  .project:first-child .project-img { height: 220px; }
}
