/*
Theme Name: Zimmcom Editable
Theme URI: https://zimmcom.com.au/
Author: Zimmcom
Description: Editable Zimmcom one-page WordPress theme with Customizer controls for page content, images, contact details and buttons.
Version: 2.3.0
Text Domain: zimmcom-editable
*/


:root {
        --ink: #1f2933;
        --deep: #16212b;
        --blue: #2f6f8f;
        --sky: #d6eefb;
        --orange: #f28c28;
        --orange-dark: #d97416;
        --line: #dfe7ec;
        --muted: #5f6b76;
        --soft: #f4f7f9;
        --white: #ffffff;
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        background: var(--white);
        color: var(--ink);
        font-family: Arial, Helvetica, sans-serif;
        line-height: 1.5;
      }

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

      a {
        color: inherit;
      }

      .site-header {
        position: sticky;
        top: 0;
        z-index: 20;
        border-bottom: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 2px 10px rgba(25, 40, 55, 0.08);
        backdrop-filter: blur(10px);
      }

      .header-inner,
      .section-inner {
        width: min(1180px, calc(100% - 48px));
        margin: 0 auto;
      }

      .header-inner {
        display: flex;
        min-height: 106px;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 16px 0;
      }

      .logo {
        width: auto;
        height: 74px;
      }

      .nav {
        display: flex;
        align-items: center;
        gap: 24px;
        font-size: 14px;
        font-weight: 700;
      }

      .nav a {
        text-decoration: none;
      }

      .nav a:hover {
        color: var(--blue);
      }

      .download-button {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        border-radius: 6px;
        background: var(--orange);
        padding: 10px 16px;
        color: var(--white);
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
      }

      .download-button:hover {
        background: var(--orange-dark);
      }

      .hero {
        min-height: 620px;
        display: flex;
        align-items: center;
        background-image: linear-gradient(90deg, rgba(31, 41, 51, 0.9), rgba(31, 41, 51, 0.55)),
          url("assets/images/hero.jpg");
        background-position: center;
        background-size: cover;
        color: var(--white);
      }

      .hero-content {
        width: min(1180px, calc(100% - 48px));
        margin: 0 auto;
        padding: 96px 0;
      }

      .eyebrow {
        margin: 0;
        color: var(--blue);
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .hero .eyebrow,
      .systems .eyebrow {
        color: var(--sky);
      }

      h1,
      h2,
      h3,
      p {
        margin-top: 0;
      }

      h1 {
        max-width: 960px;
        margin-bottom: 20px;
        font-size: clamp(42px, 6vw, 58px);
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.04;
      }

      h2 {
        max-width: 820px;
        margin-bottom: 20px;
        font-size: clamp(32px, 4vw, 38px);
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.12;
      }

      h3 {
        margin-bottom: 8px;
        font-size: 20px;
        line-height: 1.2;
      }

      .hero p:not(.eyebrow) {
        max-width: 760px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 20px;
        line-height: 1.6;
      }

      section {
        padding: 80px 0;
      }

      .soft {
        background: var(--soft);
      }

      .split {
        display: grid;
        align-items: center;
        gap: 40px;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
      }

      .split-even {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .body-copy {
        color: var(--muted);
        font-size: 16px;
        line-height: 1.75;
      }

      .body-copy p {
        margin-bottom: 16px;
      }

      .feature-image {
        width: 100%;
        border-radius: 14px;
        box-shadow: 0 18px 45px rgba(25, 40, 55, 0.18);
      }

      .capability-grid {
        display: grid;
        align-items: stretch;
        gap: 24px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 36px;
      }

      .card {
        display: flex;
        height: 100%;
        flex-direction: column;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--white);
        box-shadow: 0 10px 26px rgba(25, 40, 55, 0.06);
      }

      .media-frame {
        height: 256px;
        background: var(--line);
      }

      .single-media {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
      }

      .single-media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .split-media {
        display: grid;
        gap: 8px;
        grid-template-columns: 1.15fr 0.85fr;
        padding: 8px;
      }

      .split-media img {
        width: 100%;
        height: 100%;
        min-height: 0;
        border-radius: 8px;
        object-fit: cover;
      }

      .card-content {
        flex: 1;
        padding: 28px;
      }

      ul {
        margin: 16px 0 0;
        padding-left: 20px;
      }

      li {
        margin-bottom: 8px;
        color: var(--muted);
        line-height: 1.65;
      }

      .mini-grid {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 24px;
      }

      .mini-card {
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--white);
        padding: 24px;
        box-shadow: 0 10px 26px rgba(25, 40, 55, 0.06);
      }

      .systems {
        background: var(--ink);
        color: var(--white);
        padding: 64px 0;
      }

      .certification-badges {
        display: inline-flex;
        margin-top: 8px;
        border-radius: 6px;
        background: var(--white);
        padding: 12px;
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
      }

      .certification-badges img {
        height: 80px;
        width: auto;
      }

      .systems-grid {
        display: grid;
        gap: 24px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 32px;
      }

      .systems-card {
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.1);
        padding: 28px;
      }

      .systems-card p {
        margin: 12px 0 0;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.7;
      }

      .contact-grid {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        margin-top: 32px;
      }

      .contact-card {
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--white);
        padding: 24px;
        box-shadow: 0 10px 26px rgba(25, 40, 55, 0.06);
      }

      .role {
        margin: 4px 0 0;
        color: var(--muted);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .email-link {
        display: block;
        margin-top: 16px;
        color: var(--blue);
        font-weight: 700;
        overflow-wrap: anywhere;
        text-decoration: none;
      }

      .email-link:hover {
        color: var(--orange);
      }

      .site-footer {
        background: var(--deep);
        color: #c7d1d9;
        font-size: 14px;
        padding: 24px 0;
      }

      @media (max-width: 980px) {
        .nav {
          display: none;
        }

        .split,
        .split-even,
        .capability-grid,
        .systems-grid,
        .contact-grid {
          grid-template-columns: 1fr;
        }

        .contact-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

      @media (max-width: 640px) {
        .header-inner,
        .section-inner,
        .hero-content {
          width: min(100% - 32px, 1180px);
        }

        .header-inner {
          min-height: 88px;
          gap: 14px;
        }

        .logo {
          height: 58px;
        }

        .download-button {
          padding: 8px 12px;
        }

        section {
          padding: 60px 0;
        }

        .hero {
          min-height: 560px;
        }

        .mini-grid,
        .contact-grid {
          grid-template-columns: 1fr;
        }

        .media-frame {
          height: 240px;
        }
      }

/* WordPress integration */
body.admin-bar .site-header{top:32px;}
@media screen and (max-width:782px){body.admin-bar .site-header{top:46px;}}
.customize-partial-edit-shortcut-button{z-index:9999;}


/* Preserve logo proportions */
.logo,
.custom-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Keep contact emails readable on wider screens */
@media (min-width: 981px) {
  .contact-card { padding: 22px 16px; }
  .email-link { font-size: 14px; white-space: nowrap; overflow-wrap: normal; }
}
