/* =========================================================
   PlumbMat — shared stylesheet (standalone + WordPress theme)
   ========================================================= */

:root {
  --brand-950: #0a2036;
  --brand-900: #0f2e49;
  --brand-800: #164364;
  --brand-700: #19527b;
  --brand-600: #1c6597;
  --brand-500: #277fb8;
  --brand-400: #4b9bd0;
  --brand-300: #82bce1;
  --brand-200: #b3d7ee;
  --brand-100: #d7eaf6;
  --brand-50: #eef6fb;
  --accent-600: #0891b2;
  --accent-500: #06b6d4;
  --accent-400: #22d3ee;
  --accent-300: #67e8f9;
  --accent-200: #a5f3fc;
  --accent-100: #cffafe;
  --accent-50: #ecfeff;
  --hilite-500: #f59e0b;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --white: #ffffff;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(15, 46, 73, 0.06);
  --shadow: 0 10px 30px -10px rgba(15, 46, 73, 0.25);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--slate-600);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  color: var(--brand-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: rgba(238, 246, 251, 0.6);
}

.section-dark {
  background: var(--brand-950);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent-500);
  color: var(--white);
  box-shadow: 0 12px 30px -12px rgba(6, 182, 212, 0.6);
}
.btn-primary:hover {
  background: var(--accent-600);
}

.btn-dark {
  background: var(--brand-900);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--brand-800);
}

.btn-light {
  background: var(--white);
  color: var(--brand-900);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover {
  background: var(--brand-50);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brand-950);
  color: var(--slate-300);
  font-size: 0.8rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar a:hover {
  color: var(--white);
}

.topbar .left,
.topbar .right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar .social {
  display: flex;
  gap: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 1rem;
}

.topbar .accent {
  color: var(--accent-400);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-100);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: -0.02em;
}
.brand-name span {
  color: var(--accent-500);
}

.brand-tag {
  margin-top: 0.3rem;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--slate-500);
}

.site-footer .brand-name {
  color: #fff;
}
.site-footer .brand-tag {
  color: var(--slate-400);
}

.brand-badge {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-footer .brand-badge {
  width: 56px;
  height: 56px;
  margin-right: 0.5rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: 0.2s;
}
.nav-links a:hover {
  color: var(--brand-900);
}
.nav-links a.active {
  background: var(--brand-50);
  color: var(--brand-900);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--brand-900);
  cursor: pointer;
}
.nav-toggle:hover {
  background: var(--brand-50);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--slate-100);
  background: var(--white);
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav ul {
  list-style: none;
  padding: 0.75rem 0;
}
.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: var(--slate-600);
}
.mobile-nav a.active {
  background: var(--brand-50);
  color: var(--brand-900);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 32, 54, 0.96),
    rgba(15, 46, 73, 0.86) 55%,
    rgba(15, 46, 73, 0.4)
  );
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82vh;
  padding: 5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-200);
  backdrop-filter: blur(6px);
}

.hero-title {
  margin-top: 1.4rem;
  max-width: 48rem;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
}

.hero-sub {
  margin-top: 1.4rem;
  max-width: 42rem;
  font-size: 1.15rem;
  color: var(--slate-200);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Stats ---------- */
.stats {
  border-bottom: 1px solid var(--slate-100);
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 2.2rem 0;
}

.stat {
  padding: 0.5rem 1rem;
  text-align: center;
}
.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--brand-900);
}
.stat-label {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-block;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  background: var(--accent-50);
  color: var(--accent-600);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-head {
  max-width: 42rem;
}
.section-head.center {
  margin: 0 auto;
  text-align: center;
}
.section-head h2 {
  margin-top: 1rem;
  font-size: 1.9rem;
  font-weight: 800;
}
.section-head p {
  margin-top: 1rem;
  font-size: 1.1rem;
}
.section-head.dark h2 {
  color: var(--white);
}
.section-head.dark p {
  color: var(--slate-300);
}
.section-head.dark .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-300);
}

/* ---------- Generic grids ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}
.grid-4 {
  grid-template-columns: 1fr;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

/* ---------- Cards ---------- */
.card {
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.card-body {
  padding: 1.4rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Category card */
.category-card {
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.category-media {
  position: relative;
  height: 11rem;
  overflow: hidden;
}
.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.category-card:hover .category-media img {
  transform: scale(1.06);
}
.category-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 32, 54, 0.55), transparent);
}
.category-icon {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.8rem;
  background: var(--white);
  color: var(--brand-800);
  box-shadow: var(--shadow-sm);
}
.category-card .card-body p {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* Service card */
.service-card {
  padding: 1.8rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
  color: var(--white);
  box-shadow: 0 12px 24px -12px rgba(6, 182, 212, 0.6);
}
.service-card h3 {
  margin-top: 1.2rem;
  font-size: 1.1rem;
}
.service-card p {
  margin-top: 0.5rem;
}

/* Value card (dark) */
.value-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
}
.value-card .service-icon {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-300);
  box-shadow: none;
}
.value-card h3 {
  margin-top: 1rem;
  color: var(--white);
  font-size: 1rem;
}
.value-card p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--slate-400);
}

/* Product card */
.product-card {
  overflow: hidden;
}
.product-card img {
  height: 9rem;
  width: 100%;
  object-fit: cover;
}
.product-card ul {
  list-style: none;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}
.product-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.product-card ul li svg {
  color: var(--accent-500);
  flex-shrink: 0;
}

/* Supplier / brand */
.supplier-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.supplier-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-200);
  box-shadow: var(--shadow);
}
.supplier-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
  background: var(--brand-900);
  color: var(--accent-400);
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}
.supplier-card .name {
  font-weight: 700;
  color: var(--brand-900);
}
.supplier-card .meta {
  font-size: 0.75rem;
  color: var(--slate-400);
}

/* Brand chips */
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.brand-chip {
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--white);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
}

/* Testimonials */
.testimonial {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
}
.testimonial .quote-mark {
  font-size: 2.6rem;
  line-height: 0.8;
  font-weight: 800;
  color: var(--accent-400);
}
.testimonial blockquote {
  margin-top: 0.6rem;
  flex: 1;
  font-size: 1.05rem;
  color: var(--slate-700);
}
.testimonial figcaption {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}
.testimonial .name {
  font-weight: 700;
  color: var(--brand-900);
}
.testimonial .role {
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ---------- Checklists / feature lists ---------- */
.checklist {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-700);
}
.check-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--accent-50);
  color: var(--accent-600);
  flex-shrink: 0;
}

/* Feature mini cards */
.feature-grid {
  display: grid;
  gap: 1.25rem;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.9rem;
  background: var(--brand-50);
  color: var(--brand-700);
  flex-shrink: 0;
}
.feature h3 {
  font-size: 0.95rem;
}
.feature p {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: var(--slate-500);
}

/* ---------- Image blocks ---------- */
.image-frame {
  position: relative;
}
.image-frame > img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.float-badge {
  position: absolute;
  border-radius: 1rem;
  padding: 1.2rem;
  color: var(--white);
  box-shadow: var(--shadow);
}
.float-badge .big {
  font-size: 1.5rem;
  font-weight: 800;
}
.float-badge .small {
  font-size: 0.78rem;
  opacity: 0.85;
}
.float-badge.dark {
  background: var(--brand-900);
}
.float-badge.accent {
  background: var(--accent-500);
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-900);
  padding: 4.5rem 0;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(6, 182, 212, 0.35), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.25), transparent 40%);
}
.page-hero .wrap {
  position: relative;
}
.breadcrumb {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-400);
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb span {
  color: var(--accent-300);
}
.page-hero h1 {
  margin-top: 1rem;
  max-width: 46rem;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
}
.page-hero .lead {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1.15rem;
  color: var(--brand-100);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}
.contact-card {
  padding: 1.5rem;
}
.contact-card .service-icon {
  background: var(--accent-50);
  color: var(--accent-600);
  box-shadow: none;
  width: 2.9rem;
  height: 2.9rem;
}
.contact-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
}
.contact-card .lines {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}
.contact-card .lines a:hover {
  color: var(--accent-600);
}

.form-grid {
  display: grid;
  gap: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-900);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--slate-700);
  background: var(--white);
  outline: none;
  transition: 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
.form-row {
  display: grid;
  gap: 1rem;
}

.map-frame {
  width: 100%;
  border: 0;
  height: 18rem;
  border-radius: var(--radius);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--brand-900);
  padding: 4.5rem 0;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(6, 182, 212, 0.4), transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(56, 189, 248, 0.3), transparent 45%);
}
.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.cta-inner h2 {
  max-width: 40rem;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
}
.cta-inner p {
  max-width: 40rem;
  color: var(--brand-100);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-950);
  color: var(--slate-300);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
}
.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}
.footer-col ul {
  list-style: none;
  margin-top: 1.2rem;
  font-size: 0.9rem;
}
.footer-col ul li {
  margin-top: 0.7rem;
}
.footer-col ul a {
  color: var(--slate-400);
  transition: 0.2s;
}
.footer-col ul a:hover {
  color: var(--white);
}
.footer-col .check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--slate-400);
}
.footer-col .check-item svg {
  color: var(--accent-400);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.footer-about {
  margin-top: 1.2rem;
  max-width: 18rem;
  font-size: 0.9rem;
  color: var(--slate-400);
}
.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--slate-300);
  transition: 0.2s;
}
.footer-social a:hover {
  border-color: var(--accent-400);
  color: var(--accent-400);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.4rem 0;
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* Generic icon sizing */
.ic {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .checklist.two {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.4rem;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .split {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .section {
    padding: 5.5rem 0;
  }
  .section-head h2 {
    font-size: 2.3rem;
  }
}

@media (max-width: 1023px) {
  .topbar {
    display: none;
  }
}
