/* ============================================================
   QUICK WEBSITES NZ — SHARED STYLESHEET
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px; line-height: 1.65; color: #2d2d2d;
  background: #fff; -webkit-font-smoothing: antialiased;
}

/* === VARIABLES === */
:root {
  --charcoal:    #2e2e2e;
  --dark:        #1e1e1e;
  --mid-grey:    #5a5a5a;
  --light-grey:  #f5f5f3;
  --border:      #e2e2de;
  --coral:       #d96b47;
  --coral-dark:  #b85839;
  --coral-light: #f2e8e4;
  --white:       #ffffff;
  --nav-bg:      #ffffff;
  --nav-text:    #2e2e2e;
  --topbar-bg:   #2e2e2e;
  --footer-bg:   #1e1e1e;
  --max:         1240px;
  --pad:         clamp(20px, 5vw, 60px);
  --radius:      4px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 28px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.14);
}

/* === LAYOUT === */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* === TYPE === */
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; line-height: 1.1; letter-spacing: 0.01em; }
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; }
h3 { font-size: clamp(17px, 2vw, 21px); font-weight: 600; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* === SECTION HEADER === */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block; font-family: 'Oswald', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 12px;
}
.section-header h2 { color: var(--charcoal); margin-bottom: 14px; }
.section-header p { max-width: 560px; margin: 0 auto; color: var(--mid-grey); font-size: 17px; }

/* === BUTTONS === */
.btn {
  display: inline-block; font-family: 'Oswald', sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  padding: 13px 28px; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); }
.btn-dark { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn-dark:hover { background: #444; border-color: #444; }
.btn-outline { background: transparent; color: var(--coral); border-color: var(--coral); }
.btn-outline:hover { background: var(--coral); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.10); }
.btn-white { background: #fff; color: var(--coral); border-color: #fff; }
.btn-white:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); box-shadow: var(--shadow-md); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* === TOP BAR === */
.topbar { background: var(--topbar-bg); padding: 9px 0; font-size: 13px; color: rgba(255,255,255,0.60); letter-spacing: 0.02em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--coral); }
.topbar .tb-right { display: flex; gap: 24px; align-items: center; }
@media (max-width: 768px) { .topbar .tb-left { display: none; } .topbar .container { justify-content: center; } }

/* === NAVIGATION (desktop) === */
.site-header {
  background: var(--nav-bg); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border); box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 46px; display: block; }
.nav-links { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-links a {
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 15px;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--nav-text);
  text-decoration: none; transition: color 0.2s; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--coral); border-bottom-color: var(--coral); }
.nav-links a.active { color: var(--coral); border-bottom-color: var(--coral); }
.nav-cta {
  background: var(--coral) !important; color: #fff !important;
  padding: 10px 22px !important; border-radius: var(--radius) !important;
  border-bottom: none !important; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--coral-dark) !important; transform: none !important; }

/* === HAMBURGER BUTTON === */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 8px; z-index: 201;
  position: relative;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--charcoal); border-radius: 2px; transition: all 0.3s;
}
/* Animated X when open */
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === MOBILE NAV OVERLAY === */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}
.mobile-overlay.is-open {
  display: flex;
  opacity: 1;
}
.mobile-overlay nav {
  display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 320px;
}
.mobile-overlay nav a {
  font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: color 0.2s;
}
.mobile-overlay nav a:hover, .mobile-overlay nav a.active { color: var(--coral); }
.mobile-overlay nav a:last-child { border-bottom: none; }
.mobile-overlay .mob-cta {
  display: inline-block; margin-top: 28px;
  font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--coral); color: #fff;
  padding: 14px 36px; border-radius: var(--radius);
  text-decoration: none; transition: background 0.2s;
}
.mobile-overlay .mob-cta:hover { background: var(--coral-dark); }
.mobile-overlay .mob-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.6); font-size: 32px; line-height: 1;
  transition: color 0.2s; padding: 4px;
}
.mobile-overlay .mob-close:hover { color: #fff; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* === PAGE HERO (interior) === */
.page-hero { background: var(--charcoal); padding: 56px 0 52px; border-bottom: 4px solid var(--coral); }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 52px); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 18px; max-width: 560px; margin: 0; font-family: 'Source Sans 3', sans-serif; text-transform: none; font-weight: 400; letter-spacing: 0; }

/* === HERO (homepage) === */
.hero {
  position: relative; min-height: 92vh; overflow: hidden;
  padding: 100px 0 80px; display: flex; align-items: center;
  width: 100%;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(20,20,20,0.88) 0%, rgba(20,20,20,0.72) 50%, rgba(20,20,20,0.28) 100%);
}
.hero > .container { position: relative; z-index: 2; width: 100%; align-self: center; }
.hero-content { max-width: 700px; text-align: left; }
.hero-label {
  display: inline-block; font-family: 'Oswald', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral); background: rgba(217,107,71,0.14);
  border: 1px solid rgba(217,107,71,0.35); padding: 6px 14px;
  border-radius: 2px; margin-bottom: 24px;
}
.hero h1 { color: #fff; margin-bottom: 20px; text-align: left; max-width: 700px; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,0.82);
  line-height: 1.65; margin-bottom: 36px; max-width: 560px;
  font-family: 'Source Sans 3', sans-serif;
  text-transform: none; letter-spacing: 0; font-weight: 400; text-align: left;
}
.hero .btn-group { margin-bottom: 52px; justify-content: flex-start; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-stat .val { display: block; font-family: 'Oswald', sans-serif; font-size: 26px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 4px; }
.hero-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.52); text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 768px) { .hero { min-height: 100svh; } .hero-overlay { background: rgba(20,20,20,0.84); } }

/* === TRUST BAR === */
.trust-bar { background: var(--coral); padding: 0; }
.trust-items { display: flex; justify-content: space-around; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 16px; flex: 1; min-width: 190px; border-right: 1px solid rgba(255,255,255,0.22); }
.trust-item:last-child { border-right: none; }
.trust-icon-box { width: 40px; height: 40px; flex-shrink: 0; background: rgba(255,255,255,0.18); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #fff; }
.trust-text .ti-val { display: block; font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 700; color: #fff; line-height: 1.1; white-space: nowrap; }
.trust-text .ti-label { font-size: 12px; color: rgba(255,255,255,0.82); text-transform: uppercase; letter-spacing: 0.07em; white-space: nowrap; }
@media (max-width: 768px) {
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); flex-basis: 50%; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: none; }
}

/* === SERVICE CARDS === */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border-top: 3px solid var(--coral); transition: box-shadow 0.2s, transform 0.2s; }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon-box { width: 44px; height: 44px; background: var(--coral-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--coral); margin-bottom: 14px; }
.service-card h3 { font-size: 15px; letter-spacing: 0.07em; color: var(--charcoal); margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--mid-grey); line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* === WHY US GRID === */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--light-grey); border-radius: var(--radius);
  padding: 28px 24px; border-top: 3px solid var(--coral);
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-icon {
  width: 44px; height: 44px; background: var(--coral-light);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; color: var(--coral); margin-bottom: 16px;
}
.why-card h3 { font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--charcoal); margin-bottom: 10px; }
.why-card p { font-size: 15px; color: var(--mid-grey); line-height: 1.65; margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* === FAQ === */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 960px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); padding: 24px 26px; border-left: 3px solid var(--coral); }
.faq-item h3 { font-size: 16px; letter-spacing: 0.04em; color: var(--charcoal); margin-bottom: 10px; line-height: 1.3; }
.faq-item p { font-size: 15px; color: #4a4a4a; line-height: 1.65; margin: 0; }
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* === STEPS === */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 35px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 18px; }
.step-num { width: 70px; height: 70px; border-radius: 50%; background: var(--white); border: 2px solid var(--coral); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: 'Oswald', sans-serif; font-size: 26px; font-weight: 700; color: var(--coral); box-shadow: var(--shadow-sm); }
.step h3 { font-size: 15px; letter-spacing: 0.05em; color: var(--charcoal); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--mid-grey); line-height: 1.6; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px; } .steps::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* === INDUSTRY GRID === */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); padding: 22px 16px; text-align: center; transition: background 0.2s, border-color 0.2s; }
.industry-item:hover { background: rgba(217,107,71,0.12); border-color: rgba(217,107,71,0.4); }
.ind-icon-box { width: 48px; height: 48px; background: rgba(217,107,71,0.12); border: 1px solid rgba(217,107,71,0.28); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--coral); }
.industry-item h3 { font-size: 13px; letter-spacing: 0.06em; color: rgba(255,255,255,0.82); }
@media (max-width: 768px) { .industries { grid-template-columns: repeat(2, 1fr); } }

/* === CTA BAND === */
.cta-band { background: var(--coral); padding: 72px 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.88); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; font-family: 'Source Sans 3', sans-serif; text-transform: none; font-weight: 400; letter-spacing: 0; }

/* === FOOTER === */
.site-footer { background: var(--footer-bg); padding: 64px 0 0; color: rgba(255,255,255,0.60); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-logo img { height: 38px; display: block; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; line-height: 1.65; max-width: 260px; }
.footer-heading { font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.60); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--coral); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,0.60); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--coral); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: rgba(255,255,255,0.28); flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* === IMG UTIL === */
.img-wrap { border-radius: var(--radius); overflow: hidden; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
