/* Inst-I-Glass Layout CSS */
.iig-page-top { height: 30px; }
.iig-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.iig-row > [class^="iig-col"] {
  padding: 0 15px;
  box-sizing: border-box;
}
.iig-col-12 { flex: 0 0 100%; max-width: 100%; }
.iig-col-6  { flex: 0 0 50%; max-width: 50%; }
.iig-col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.iig-col-3  { flex: 0 0 25%; max-width: 25%; }
.iig-col-8  { flex: 0 0 66.667%; max-width: 66.667%; }
.iig-col-9  { flex: 0 0 75%; max-width: 75%; }
.iig-col-2-5 { flex: 0 0 40%; max-width: 40%; }
.iig-col-3-5 { flex: 0 0 60%; max-width: 60%; }
@media (max-width: 768px) {
  .iig-row > [class^="iig-col"] {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }
  .iig-hero-images img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    display: block;
  }
  .iig-hero-images .iig-col-3,
  .iig-hero-images .iig-col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .iig-footer-inner {
    flex-direction: column !important;
  }
  .iig-footer-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 25px;
  }
}
.iig-section {
  padding: 30px 0;
  overflow: hidden;
}
.iig-section.iig-dark a { color: #02aed6; }
.iig-section[style*="background-color:#02aed6"] a,
.iig-section[style*="background-color: #02aed6"] a {
  color: #fff !important;
}
.iig-section[style*="background-color:#02aed6"] a:hover,
.iig-section[style*="background-color: #02aed6"] a:hover {
  color: #e0e0e0 !important;
}
.iig-section img { max-width: 100%; height: auto; }

/* Action bar — 3-card CTA */
.iig-action-bar {
  background: hsl(210, 7%, 16%);
  padding: 40px 20px;
}
.iig-action-inner {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.iig-action-card {
  flex: 1;
  background: hsl(210, 7%, 22%);
  border-radius: 8px;
  padding: 30px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.iig-action-icon {
  font-size: 2.5em;
  margin-bottom: 12px;
  line-height: 1;
}
.iig-action-card h3 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 1.3em;
}
.iig-action-card p {
  color: #aaa;
  margin: 0 0 18px;
  font-size: 0.95em;
  line-height: 1.4;
  flex-grow: 1;
}
.iig-action-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #02aed6;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s;
  border: 2px solid #02aed6;
}
.iig-action-btn:hover {
  background: #0296b8;
  border-color: #0296b8;
  color: #fff !important;
  transform: translateY(-1px);
}
.iig-action-btn-outline {
  background: transparent;
  border: 2px solid #02aed6;
  color: #02aed6 !important;
}
.iig-action-btn-outline:hover {
  background: #02aed6;
  color: #fff !important;
}
@media (max-width: 768px) {
  .iig-action-inner {
    flex-direction: column;
  }
  .iig-action-card {
    padding: 24px 20px;
  }
}

/* Global top padding between nav and content */
.entry-content {
  padding-top: 20px;
}
.entry-content > section.iig-section:first-child[style*="background-color"] {
  margin-top: -20px;
}

/* CTA edge-to-edge — all pages */
.iig-cta-full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}
/* Override Astra blocks layout max-width constraint */
.entry-content[data-ast-blocks-layout] > .iig-cta-full {
  max-width: 100vw;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
.iig-cta-full a:hover { opacity: 0.85; }

/* Blue hero phone number centering */
.iig-section[style*="background-color:#02aed6"] h2,
.iig-section[style*="background-color: #02aed6"] h2 {
  justify-content: center !important;
  text-align: center;
}

/* Buttons */
.iig-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #02aed6;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9em;
  margin-top: 10px;
  transition: background 0.2s;
}
.iig-btn:hover { background: #0296b8; color: #fff !important; }
.iig-map iframe { width: 100%; border: 0; }
.entry-content img { max-width: 100%; height: auto; }
.iig-section > p:empty, .iig-row > p:empty, [class^="iig-col"] > p:empty {
  display: none; margin: 0; padding: 0;
}

/* Footer */
.iig-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 50px 20px 0;
}
.iig-footer-inner {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}
.iig-footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}
.iig-footer-col h3 {
  color: #fff;
  font-size: 1.1em;
  margin: 0 0 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.iig-footer-col ul { list-style: none; padding: 0; margin: 0; }
.iig-footer-col ul li { margin-bottom: 8px; }
.iig-footer-col a { color: #02aed6; text-decoration: none; }
.iig-footer-col a:hover { color: #fff; }
.iig-footer-col p { margin: 0 0 10px; line-height: 1.6; }
.iig-footer-bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85em;
  color: #888;
}
.iig-footer-bottom a { color: #888; text-decoration: none; }
.iig-footer-bottom a:hover { color: #02aed6; }

/* Header CTA button — nav menu item */
li.menu-item.iig-header-cta {
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
}
li.menu-item.iig-header-cta > a {
  background: #02aed6 !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  transition: background 0.2s;
  line-height: 1.4 !important;
  height: auto !important;
  margin-left: 8px;
}
li.menu-item.iig-header-cta > a:hover {
  background: #0296b8 !important;
  color: #fff !important;
}
/* Mobile off-canvas menu CTA */
@media (max-width: 921px) {
  li.menu-item.iig-header-cta {
    display: block !important;
    padding: 5px 20px !important;
  }
  li.menu-item.iig-header-cta > a {
    display: inline-block !important;
    margin: 5px 0 !important;
    text-align: center;
  }
}
