/* Dialtone Website - Latest Production Stylesheet (www.dialtone.co.nz) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --pill-blue: #1e70b8;
  --pill-black: #000000;
  --text-black: #000000;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-white: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --container-width: 1120px;
  --radius-pill: 14px;
  --radius-card: 16px;
  --shadow-tile: 0 3px 8px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 18px 35px -8px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-wrapper {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 0 18px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo img {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  list-style: none;
}

.nav-links a {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-black);
  padding: 6px 2px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pill-blue);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--pill-blue);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 12px;
  align-items: center;
  gap: 6px;
}

/* Contained Hero Box */
.hero-box {
  position: relative;
  width: 100%;
  height: 475px;
  overflow: hidden;
  border-radius: 4px;
  background-color: #5da0e1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 52px 28px 34px;
  box-shadow: 0 10px 28px -8px rgba(15, 23, 42, 0.18);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-top-text {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 700;
  color: var(--text-black);
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.35);
}

.hero-middle-text {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: auto 0;
  padding: 16px 0;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.56rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.34;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* 6 Sub-Category Rounded Blue Pill Buttons -> Roll Over to SOLID BLACK (#000000) */
.pillars-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 980px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--pill-blue);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.18s ease, box-shadow 0.2s ease;
}

.pill-btn:hover,
.pill-btn:focus-visible,
.pill-btn.active {
  background-color: var(--pill-black) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
}

.pill-btn.active {
  outline: 2px solid rgba(255, 255, 255, 0.85);
}

/* Client Logos Showcase - Full-Bleed Edge-to-Edge Proportional Boxes (7 on Row 1, 2 on Row 2) */
.clients-section {
  padding: 34px 0 38px;
  background: var(--bg-white);
}

.logos-row-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
}

.logos-row-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.logo-tile {
  background: #ffffff;
  border-radius: 2px;
  box-shadow: var(--shadow-tile);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.logo-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 5 Key Figures Grid (Non-Overlapping on Mobile, Tablet & Desktop) */
.stats-section {
  padding: 8px 0 40px;
  border-bottom: 1px solid var(--border-light);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.stat-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  border-color: var(--pill-blue);
}

.stat-item.featured-stat {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--pill-blue);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stat-desc {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-body);
  margin-top: 6px;
  line-height: 1.35;
}

/* Full-Width Subpage Lead Intro Banner (No 150+ callout squeezing mobile text) */
.page-body-section {
  padding: 20px 0 64px;
}

.lead-intro-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--pill-blue);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  margin-bottom: 28px;
  width: 100%;
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.05);
}

.lead-intro-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-black);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.lead-intro-card p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.68;
  margin: 0;
}

/* Bento Cards */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.bento-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -8px rgba(15, 23, 42, 0.13);
  border-color: var(--pill-blue);
}

.bento-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--pill-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
}

.bento-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 10px;
}

.bento-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
}

/* Interactive ICT Savings Estimator Widget */
.calculator-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-card);
  padding: 32px 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-hover);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.calculator-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.calculator-card p {
  font-family: 'Inter', sans-serif;
  color: #cbd5e1;
  font-size: 14.5px;
  margin-bottom: 18px;
}

.calc-slider-wrap label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 8px;
  color: #93c5fd;
}

.calc-slider {
  width: 100%;
  accent-color: var(--pill-blue);
  height: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}

.calc-result-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 6px;
}

.calc-result-value {
  font-size: 28px;
  font-weight: 800;
  color: #34d399;
  line-height: 1.15;
  margin-bottom: 6px;
}

.calc-result-note {
  font-size: 12px;
  color: #cbd5e1;
}

/* Discovery Banner */
.discovery-banner {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-card);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.discovery-banner-text {
  max-width: 680px;
}

.discovery-banner-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.discovery-banner-text p {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: #cbd5e1;
  margin: 0;
}

/* Profiles & Success Showcase */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 28px;
}

.profile-photo {
  width: 192px;
  height: 192px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
  margin: 12px 0 16px;
}

.profile-contact-meta {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-black);
  margin: 14px 0;
  display: grid;
  gap: 6px;
}

.profile-bio p {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 14px;
}

.success-showcase-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px;
  margin-bottom: 32px;
}

.success-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.success-kpi-badge {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
}

.testimonial-quote-box {
  background: #ffffff;
  border-left: 4px solid var(--pill-blue);
  border-radius: 0 16px 16px 0;
  padding: 28px;
  font-family: 'Inter', sans-serif;
  box-shadow: var(--shadow-card);
}

.testimonial-quote-box p {
  font-style: italic;
  color: var(--text-body);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 36px 24px;
  margin-top: 24px;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive Tablet & Mobile Rules */
@media (max-width: 960px) {
  .pillars-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stats-row .stat-card-5th {
    grid-column: span 2;
  }
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calculator-card,
  .profile-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-wrapper {
    padding: 0 14px;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 86px;
    left: 14px;
    right: 14px;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
    border-radius: 14px;
    border: 1px solid var(--border-light);
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .hero-box {
    height: auto;
    min-height: 410px;
    padding: 28px 14px 22px;
    gap: 18px;
  }
  .pillars-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .pill-btn {
    font-size: 13px;
    padding: 11px 8px;
  }
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .stats-row .stat-card-5th {
    grid-column: 1 / -1;
  }
  .stat-value {
    font-size: 21px;
  }
  .stat-desc {
    font-size: 11.5px;
  }
  .lead-intro-card {
    padding: 24px 20px;
    margin-bottom: 20px;
  }
  .lead-intro-card h2 {
    font-size: 22px;
    line-height: 1.28;
  }
  .lead-intro-card p {
    font-size: 14.5px;
    line-height: 1.65;
  }
  .bento-grid,
  .bento-grid.cols-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-card {
    padding: 20px 18px;
  }
  .discovery-banner,
  .calculator-card {
    padding: 24px 20px;
  }
}
