/* K B Gleeson Building: homepage update mockup.
   Matches the live Elementor site: navy #101B56, cream #F5F3ED, Georgia headings,
   Lato 17px body, and the “leaf” corners (16px 0 on buttons, 30px 0 on feature images). */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --navy: #101B56;
  --navy-ink: #16163F;
  --cream: #F5F3ED;
  --sky: #25AAE1;
  --text: #2b2b2b;
  --muted: #5d6270;
  --line: #e2ded3;
  --white: #fff;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Lato', Arial, sans-serif;
  --max: 1280px;
  --shadow: 0 0 10px rgba(0, 0, 0, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--text); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 30px; }
.section { padding: 90px 0; position: relative; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); margin: 0; }
.h2 { font-size: 46px; line-height: 1.15; font-weight: 700; margin-bottom: 18px; }
.h2--center { text-align: center; }
.intro { max-width: 700px; margin: 0 auto 44px; text-align: center; color: var(--muted); }

/* Buttons: same shape as the live site */
.btn { display: inline-block; font-family: var(--sans); font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; padding: 12px 18px; border-radius: 16px 0; border: 2px solid transparent; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: #fff; color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white:hover { background: transparent; color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btns--center { justify-content: center; }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { max-width: 1366px; display: flex; align-items: center; justify-content: space-between; height: 95px; }
.logo img { width: 250px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-size: 17px; }
.nav a:hover { color: var(--sky); }
.nav a.btn-phone { background: #fff; color: var(--navy-ink); border-radius: 16px 0; padding: 15px 20px; letter-spacing: 1.5px; margin-left: 6px; }
.nav a.btn-phone:hover { background: var(--sky); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; }

/* Hero */
.hero { position: relative; min-height: clamp(560px, calc(100vh - 95px), 800px); display: flex; align-items: center; color: #fff; background: #3a3a3a center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 18, 18, .74) 0%, rgba(18, 18, 18, .5) 36%, rgba(18, 18, 18, .08) 66%, rgba(18, 18, 18, 0) 100%); }
.hero .wrap { position: relative; width: 100%; }
.hero-copy { max-width: 680px; }
.hero h1.eyebrow { font-family: var(--sans); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin: 0 0 18px; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; text-transform: uppercase; margin: 0 0 24px; max-width: 540px; }
.hero-title em { font-style: italic; }
.hero .lead { font-size: 18px; line-height: 1.55; max-width: 470px; margin: 0 0 28px; }
.hero[data-hero="a"] { background-image: url('../images/hero-good-night-lane.jpg'); background-position: 72% 60%; }
.hero[data-hero="b"] { background-image: url('../images/hero-greytown-home.jpg'); background-position: 60% 55%; }
.hero[data-hero="c"] { background-image: url('../images/hero-bathroom.jpg'); background-position: 70% 50%; }

/* Trust strip (new) */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 28px; }
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item img { width: 76px; height: 58px; object-fit: contain; flex: 0 0 76px; }
.trust-item strong { display: block; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); line-height: 1.3; margin-bottom: 3px; }
.trust-item span { display: block; font-size: 15px; color: var(--muted); line-height: 1.35; }

/* Services */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.svc-card { background: #fff; border-radius: 30px 0; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.svc-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc-body { padding: 34px 40px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; }
.svc-body h3 { font-size: 40px; font-weight: 600; margin-bottom: 14px; }
.svc-body p { max-width: 470px; color: var(--text); }
.svc-tags { list-style: none; padding: 0; margin: 4px 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.svc-tags li { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); background: var(--cream); padding: 6px 10px; border-radius: 10px 0; }
.svc-body .btn { margin-top: auto; }

/* About Kieran */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.about-img { border-radius: 30px 0; overflow: hidden; }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about-copy .h2 { margin-bottom: 22px; }
.about-copy p { max-width: 620px; }
.towns { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); margin: 6px 0 26px; }
.medals { margin-top: 64px; text-align: center; }
.medals p { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.medal-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.medal-row img { width: 83px; height: 83px; object-fit: contain; }

/* Recent work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 44px; }
.work-card { background: #fff; border-radius: 15px 0; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: block; transition: transform .2s; }
.work-card:hover { transform: translateY(-3px); }
.work-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.work-card .cap { padding: 20px 22px 24px; }
.work-card h3 { font-size: 23px; font-weight: 600; margin-bottom: 6px; }
.work-card .tag { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.work-card .tag b { color: var(--navy); font-weight: 700; }

/* Building guide (new) */
.guide { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: center; background: var(--cream); border-radius: 30px 0; padding: 56px; }
.guide-cover img { width: 100%; max-width: 380px; margin: 0 auto; mix-blend-mode: multiply; }
.guide .h2 { font-size: 40px; }
.guide ul { margin: 0 0 24px; padding-left: 20px; }
.guide li { margin-bottom: 4px; }
.guide-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guide-form label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); display: block; margin-bottom: 5px; }
.guide-form input, .guide-form select { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #cfcac0; background: #fff; border-radius: 0; color: var(--text); }
.guide-form .full { grid-column: 1 / -1; }
.guide-form .btn { justify-self: start; }
.small { font-size: 14px; color: var(--muted); margin-top: 10px; }
.form-msg { display: none; font-size: 15px; color: var(--navy); background: #fff; border-left: 3px solid var(--sky); padding: 10px 14px; margin-top: 12px; }
.form-msg.show { display: block; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.google-line { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); margin: -4px 0 24px; }
.stars { color: #F5B301; letter-spacing: 2px; font-size: 18px; }
.review { background: #fff; border-radius: 15px 0; box-shadow: var(--shadow); padding: 26px 28px; margin-bottom: 20px; }
.review .who { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.review .who b { color: var(--navy); }
.review .who span { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.review p { margin: 0; font-size: 16px; }
.testi-img { border-radius: 30px 0; overflow: hidden; }
.testi-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 60%; }
.text-link { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sky); }

/* Get in touch */
.cta { position: relative; padding: 130px 0; color: #fff; background: #333 url('https://kbgleesonbuilding.co.nz/wp-content/uploads/2024/05/LOE-8.jpg') center / cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 18, 18, .68), rgba(18, 18, 18, .25)); }
.cta .wrap { position: relative; }
.cta h2 { color: #fff; font-size: 52px; font-weight: 400; margin-bottom: 14px; }
.cta p { font-size: 19px; max-width: 520px; }
.cta .towns { color: #fff; opacity: .9; margin-top: 26px; font-size: 14px; max-width: none; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 60px 0 26px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid img { width: 248px; margin-bottom: 18px; }
.foot-grid h4 { font-family: var(--sans); font-size: 15px; letter-spacing: 1px; margin: 4px 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 40px; padding-top: 18px; font-size: 13px; opacity: .7; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 16px; }
}
@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 95px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 10px 30px 26px; gap: 14px; }
  .nav.open { display: flex; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .about-grid, .testi-grid, .guide { grid-template-columns: 1fr; }
  .about-img img { aspect-ratio: 4 / 3; }
  .testi-img { position: static; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .site-header .wrap { height: 76px; }
  .nav { top: 76px; padding: 10px 20px 24px; }
  .logo img { width: 190px; }
  .hero { min-height: 600px; align-items: flex-end; padding-bottom: 48px; }
  .hero::before { background: linear-gradient(0deg, rgba(18, 18, 18, .8) 0%, rgba(18, 18, 18, .55) 55%, rgba(18, 18, 18, .2) 100%); }
  .hero-title { font-size: 42px; }
  .hero .lead { font-size: 17px; }
  .h2 { font-size: 34px; }
  .svc-grid, .work-grid { grid-template-columns: 1fr; }
  .svc-body { padding: 28px 22px 32px; }
  .svc-body h3 { font-size: 32px; }
  .trust .wrap { grid-template-columns: 1fr; gap: 18px; }
  .guide { padding: 30px 22px; gap: 30px; }
  .guide .h2 { font-size: 32px; }
  .guide-form { grid-template-columns: 1fr; }
  .medal-row img { width: 64px; height: 64px; }
  .review { padding: 22px 22px; }
  .review .who { flex-direction: column; gap: 2px; }
  .cta { padding: 90px 0; }
  .cta h2 { font-size: 38px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- Mockup review layer (not part of the page design) ---------- */
.note-badge { display: none; position: absolute; top: 14px; left: 14px; z-index: 40; width: 30px; height: 30px; border-radius: 50%; background: #E0A526; color: #1b1b1b; font: 700 14px/30px var(--sans); text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.show-notes .note-badge { display: block; }
.review-toggle { position: fixed; right: 18px; bottom: 18px; z-index: 120; background: #1b1b1b; color: #fff; border: 0; border-radius: 22px; padding: 12px 18px; font: 700 14px var(--sans); letter-spacing: .5px; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.review-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 110; box-shadow: -8px 0 30px rgba(0, 0, 0, .2); transform: translateX(105%); transition: transform .25s; overflow-y: auto; padding: 26px 26px 90px; font-size: 15px; line-height: 1.45; }
.show-notes .review-panel { transform: none; }
.review-panel h2 { font-size: 22px; margin-bottom: 6px; }
.review-panel .sub { color: var(--muted); margin-bottom: 18px; }
.review-panel ol { padding-left: 0; list-style: none; margin: 0; }
.review-panel li { border-top: 1px solid var(--line); padding: 12px 0 12px 40px; position: relative; }
.review-panel li .n { position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: #E0A526; font-weight: 700; text-align: center; line-height: 26px; font-size: 13px; }
.review-panel li b { color: var(--navy); }
.review-panel .seo { background: var(--cream); padding: 12px 14px; margin: 0 0 18px; font-size: 14px; }
.hero-switch { display: flex; gap: 8px; margin: 8px 0 4px; flex-wrap: wrap; }
.hero-switch button { font: 700 13px var(--sans); padding: 8px 10px; border: 2px solid var(--navy); background: #fff; color: var(--navy); border-radius: 10px 0; cursor: pointer; }
.hero-switch button.on { background: var(--navy); color: #fff; }
@media print { .review-toggle, .review-panel, .note-badge { display: none !important; } }
