/* Pacific Pipe & Plant Installations Ltd — site styles */

:root {
  --navy: #2b3f7e;
  --navy-dark: #1d2c5c;
  --gold: #f5b81c;
  --gold-dark: #d99e0c;
  --ink: #1a1a1a;
  --text: #333;
  --muted: #666;
  --line: #e6e6e6;
  --bg: #fff;
  --bg-alt: #f5f6f8;
  --footer: #1a1a1a;
  --max: 1200px;
  --radius: 10px;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); }

h1, h2, h3 {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.3rem; font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 700; }

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 3px;
  background: var(--gold);
  transform: translateX(-50%);
}
.section-header .lead {
  max-width: 760px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border: 2px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.btn:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--gold); color: var(--navy-dark); }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.brand img { height: 56px; width: auto; }
.brand-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.brand-name small {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-cta .btn { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
.nav-phone {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  margin: 5px 0;
  transition: all 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy-dark) url("../images/cladding-install.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 30, 65, 0.92) 0%, rgba(20, 30, 65, 0.7) 55%, rgba(20, 30, 65, 0.35) 100%);
}
.hero .container { position: relative; }
.hero-inner { max-width: 680px; padding: 4rem 0; }
.hero h1 { color: #fff; font-size: 3.4rem; margin-bottom: 1rem; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.25rem; color: rgba(255, 255, 255, 0.9); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-actions .btn-outline { color: #fff; border-color: #fff; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--navy-dark); }

.page-hero { min-height: 340px; }
.page-hero .hero-inner { padding: 3rem 0; }
.page-hero h1 { font-size: 3rem; }

/* Capability strip */
.strip {
  background: var(--navy);
  color: #fff;
}
.strip ul {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.25rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.strip li::before { content: "\2726"; color: var(--gold); margin-right: 0.5rem; }

/* Cards */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card h3 {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 1rem;
}
.card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}
.card p { color: var(--muted); }
.card ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.card ul li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.card ul li:last-child { border-bottom: 0; }
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.card-num {
  font-family: "Barlow Condensed", sans-serif;
  color: var(--gold);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* Who we are */
.who {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.who .lead { font-size: 1.15rem; color: var(--text); }
.who img { border-radius: var(--radius); box-shadow: var(--shadow); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.stat strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1;
}
.stat span { font-size: 0.9rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* Testimonial */
.testimonial {
  background: #fff;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.25rem;
  max-width: 860px;
  margin: 0 auto;
}
.testimonial blockquote {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
}
.testimonial cite { font-style: normal; font-weight: 700; color: var(--navy); }
.testimonial cite span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }

/* Team */
.team-card { text-align: center; }
.avatar {
  width: 110px;
  height: 110px;
  margin: 2rem auto 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  border: 4px solid var(--gold);
}
.team-card h3 { padding-bottom: 0; margin-bottom: 0.25rem; }
.team-card h3::after { display: none; }
.team-card .role {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto 1.75rem; font-size: 1.1rem; }

/* Contact */
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.contact-details {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}
.contact-item h3 { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--navy); }
.contact-item p { margin: 0; color: var(--muted); }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.map {
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 1.25rem; }
.form label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.form input, .form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form input:focus, .form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.9rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--footer);
  color: #ccc;
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.site-footer h3 {
  color: var(--gold);
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}
.site-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.65rem; }
.site-footer a { color: #ccc; text-decoration: none; transition: all 0.2s ease; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { height: 60px; margin-bottom: 1rem; background: #fff; border-radius: 50%; padding: 4px; }
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 960px) {
  .who { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-phone { display: none; }
}

@media (max-width: 820px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.9rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero { min-height: 480px; }
  .site-header .container { height: 72px; }
  .brand img { height: 46px; }
  .brand-name { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.open { max-height: 420px; }
  .nav li { text-align: center; }
  .nav a { display: block; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); background: var(--bg-alt); }
  .section { padding: 3rem 0; }
  .contact-details { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .stat strong { font-size: 1.8rem; }
}

/* PREQUAL health & safety */
.prequal {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 3rem;
  align-items: center;
}
.prequal-badge {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  justify-self: center;
}
.prequal-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prequal h2 { margin-top: 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.6rem; }
.check-list li::before { content: "\2714"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.prequal-valid { font-size: 0.9rem; color: var(--muted); }
.footer-prequal { display: inline-block; margin-top: 0.25rem; }
.footer-prequal img { width: 170px; height: auto; border-radius: 6px; display: block; }
@media (max-width: 720px) {
  .prequal { grid-template-columns: 1fr; gap: 1.75rem; }
  .prequal-badge { max-width: 280px; }
}
