/*
Theme Name: GutterGuard Divi Child
Theme URI: https://gutterguard.com.au/
Description: Editable Divi child theme for GutterGuard.com.au.
Author: GutterGuard.com.au
Template: Divi
Version: 1.0.3
Text Domain: gutterguard-divi
*/

:root {
  --gg-navy: #123745;
  --gg-navy-deep: #082832;
  --gg-green: #55a630;
  --gg-green-dark: #367a25;
  --gg-coral: #ef875f;
  --gg-ink: #17282e;
  --gg-body: #53666d;
  --gg-mist: #edf4ef;
  --gg-sand: #f4f1e8;
  --gg-line: #dce4df;
  --gg-white: #ffffff;
}

body {
  color: var(--gg-body);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.gg-display,
.et_pb_button {
  color: var(--gg-ink);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.25rem, 4.8vw, 4.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.85rem); }

#page-container { overflow: hidden; }
.et_pb_section { padding: 96px 0; }
.et_pb_row { width: min(90%, 1280px); max-width: 1280px; }
.gg-section-tight { padding: 34px 0 !important; }
.gg-section-dark { background: var(--gg-navy-deep); }
.gg-section-navy { background: var(--gg-navy); }
.gg-section-sand { background: var(--gg-sand); }
.gg-section-mist { background: var(--gg-mist); }
.gg-section-white { background: var(--gg-white); }
.gg-kicker { margin-bottom: 12px; color: var(--gg-green-dark); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.gg-section-dark .gg-kicker, .gg-section-navy .gg-kicker { color: #a9dd94; }
.gg-section-dark h1, .gg-section-dark h2, .gg-section-dark h3,
.gg-section-navy h1, .gg-section-navy h2, .gg-section-navy h3 { color: white; }
.gg-section-dark p, .gg-section-navy p { color: rgba(255,255,255,.76); }
.gg-lead { font-size: 18px; line-height: 1.7; }

.et_pb_button.gg-button,
.gg-button.et_pb_button {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 15px 24px !important;
  color: white !important;
  background: var(--gg-green) !important;
  font-size: 14px;
  letter-spacing: 0;
}
.gg-button.et_pb_button:hover { padding: 15px 24px !important; background: var(--gg-green-dark) !important; }
.gg-button.et_pb_button::after { line-height: inherit; }
.gg-button-outline.et_pb_button { border: 1px solid rgba(255,255,255,.8) !important; background: transparent !important; }
.gg-button-navy.et_pb_button { background: var(--gg-navy) !important; }

/* Theme Builder header */
.gg-announcement { padding: 0 !important; background: #303436 !important; }
.gg-announcement .et_pb_row { min-height: 40px; padding: 9px 0 !important; }
.gg-announcement p { margin: 0; color: white; font-size: 12px; letter-spacing: .03em; }
.gg-announcement a { color: #b4e39f; font-weight: 700; }
.gg-header { z-index: 999; padding: 0 !important; background: white !important; box-shadow: 0 2px 16px rgba(9,40,50,.08); }
.gg-header .et_pb_row { display: flex; min-height: 86px; align-items: center; padding: 10px 0 !important; }
.gg-header .et_pb_menu { background: transparent !important; }
.gg-header .et_pb_menu__logo-wrap { margin-right: clamp(18px, 2.5vw, 38px); }
.gg-header .et_pb_menu__logo img { width: 200px; max-height: 56px; }
.gg-header .et_pb_menu__menu > nav > ul { flex-wrap: nowrap !important; }
.gg-header .et_pb_menu__menu > nav > ul > li { padding: 0 7px; }
.gg-header .et_pb_menu__menu > nav > ul > li > a { color: var(--gg-ink) !important; font-size: 12px; font-weight: 700; }
.gg-header .et_pb_menu__menu > nav > ul > li > a:hover { color: var(--gg-green-dark) !important; opacity: 1; }
.gg-header .et_mobile_menu { border-top-color: var(--gg-green); }
.gg-header .mobile_menu_bar::before { color: var(--gg-green-dark); }

/* Hero */
.gg-hero { min-height: 690px; display: flex; align-items: center; padding: 92px 0 78px !important; background-color: var(--gg-navy-deep); background-position: 60% 50%; background-size: cover; }
.gg-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,29,36,.97) 0%, rgba(7,29,36,.87) 44%, rgba(7,29,36,.36) 73%, rgba(7,29,36,.12)); }
.gg-hero .et_pb_row { position: relative; z-index: 1; }
.gg-hero h1 { margin: 0 0 22px; color: white; text-transform: uppercase; }
.gg-hero h1 em { color: var(--gg-coral); font-style: normal; }
.gg-hero .gg-lead { max-width: 620px; color: rgba(255,255,255,.84); }
.gg-hero .et_pb_button_module_wrapper { display: inline-block; margin: 10px 10px 0 0; }
.gg-proof-inline { display: flex; flex-wrap: wrap; gap: 0; margin-top: 48px; }
.gg-proof-inline > span { display: grid; min-width: 165px; border-left: 1px solid rgba(255,255,255,.28); padding: 0 24px; color: rgba(255,255,255,.7); font-size: 11px; }
.gg-proof-inline > span:first-child { border: 0; padding-left: 0; }
.gg-proof-inline b { color: white; font-size: 23px; line-height: 1.1; }

/* Cards and feature modules */
.gg-proof-bar { padding: 0 !important; border-bottom: 1px solid var(--gg-line); }
.gg-proof-bar .et_pb_row { width: min(100%, 1280px); padding: 0 !important; }
.gg-proof-bar .et_pb_column { border-right: 1px solid var(--gg-line); padding: 26px 24px; }
.gg-proof-bar .et_pb_column:last-child { border-right: 0; }
.gg-proof-bar .et_pb_blurb_content { max-width: none; }
.gg-proof-bar .et_pb_main_blurb_image { margin-bottom: 12px; }
.gg-proof-bar .et-pb-icon { color: var(--gg-green-dark); font-size: 30px; }
.gg-proof-bar h4 { font-family: Arial, sans-serif; font-size: 14px; letter-spacing: 0; }
.gg-proof-bar p { font-size: 12px; line-height: 1.45; }

.gg-intro { max-width: 820px; margin: 0 auto 45px; text-align: center; }
.gg-intro h2 { text-transform: uppercase; }
.gg-card { height: 100%; overflow: hidden; border: 1px solid var(--gg-line); background: white; box-shadow: 0 18px 45px rgba(9,40,50,.08); transition: transform .25s ease, box-shadow .25s ease; }
.gg-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(9,40,50,.14); }
.gg-card .et_pb_image img { width: 100%; height: 260px; object-fit: cover; }
.gg-card-copy { padding: 25px 27px 30px; }
.gg-card-copy h3 { text-transform: uppercase; }
.gg-card-copy a { color: var(--gg-green-dark); font-size: 13px; font-weight: 800; }

.gg-benefit .et_pb_blurb_content { max-width: none; padding: 30px; background: white; min-height: 300px; }
.gg-benefit .et-pb-icon { color: var(--gg-green); font-size: 45px; }
.gg-benefit h4 { font-size: 21px; text-transform: uppercase; }
.gg-benefit p { font-size: 14px; }

.gg-system-image img { min-height: 570px; width: 100%; object-fit: cover; box-shadow: 0 20px 60px rgba(9,40,50,.14); }
.gg-number-list { margin: 26px 0; padding: 0; list-style: none; counter-reset: ggsteps; }
.gg-number-list li { counter-increment: ggsteps; position: relative; border-top: 1px solid var(--gg-line); padding: 18px 0 18px 52px; }
.gg-number-list li::before { content: counter(ggsteps); position: absolute; left: 0; top: 18px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: white; background: var(--gg-green); font-weight: 800; }
.gg-supplier-note { border-left: 4px solid var(--gg-green); padding: 15px 18px; background: var(--gg-sand); font-size: 13px; }

.gg-pathway { height: 100%; min-height: 390px; padding: 36px; color: white; background: var(--gg-green-dark); }
.gg-pathway.gg-pathway-navy { border: 1px solid rgba(255,255,255,.18); background: var(--gg-navy); }
.gg-pathway h3 { margin-top: 65px; color: white; font-size: 31px; text-transform: uppercase; }
.gg-pathway p { color: rgba(255,255,255,.76); }
.gg-pathway a { color: white; font-weight: 800; }

.gg-roof-choice { height: 100%; border: 2px solid var(--gg-line); background: white; }
.gg-roof-choice:hover { border-color: var(--gg-green); }
.gg-roof-choice img { height: 185px; width: 100%; object-fit: cover; }
.gg-roof-choice .et_pb_text_inner { padding: 21px; }
.gg-roof-choice h3 { font-size: 19px; text-transform: uppercase; }

.gg-quote-panel { padding: 55px !important; background: var(--gg-navy) !important; }
.gg-quote-panel h2, .gg-quote-panel h3 { color: white; }
.gg-quote-panel p, .gg-quote-panel li { color: rgba(255,255,255,.78); }
.gg-contact-form { padding: 30px; background: white; }
.gg-contact-form .et_pb_contact_field input,
.gg-contact-form .et_pb_contact_field textarea,
.gg-contact-form .et_pb_contact_field select { border: 1px solid var(--gg-line); border-radius: 0; background: #fafbf9; }
.gg-contact-form .et_contact_bottom_container { float: none; display: block; text-align: left; }
.gg-contact-form .et_pb_contact_submit { margin-left: 0; border: 0; border-radius: 0; color: white; background: var(--gg-green); }

.gg-faq .et_pb_toggle { margin-bottom: 0; border: 0; border-top: 1px solid var(--gg-line); padding: 22px 0; background: white; }
.gg-faq .et_pb_toggle:last-child { border-bottom: 1px solid var(--gg-line); }
.gg-faq .et_pb_toggle_title { color: var(--gg-ink); font-family: Arial, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: 0; }
.gg-faq .et_pb_toggle_title::before { color: var(--gg-green-dark); }

/* WooCommerce */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button,
.woocommerce-page .button { border: 0 !important; border-radius: 0 !important; color: white !important; background: var(--gg-green) !important; font-weight: 800; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--gg-ink); font-weight: 800; }
.woocommerce ul.products li.product .price { color: var(--gg-green-dark) !important; font-weight: 800; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--gg-green); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--gg-green); }

/* Theme Builder footer */
.gg-footer { padding: 70px 0 20px !important; background: var(--gg-navy-deep) !important; }
.gg-footer h3, .gg-footer h4 { color: white; font-family: Arial, sans-serif; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.gg-footer p, .gg-footer li, .gg-footer a { color: rgba(255,255,255,.68); font-size: 13px; }
.gg-footer a:hover { color: #b4e39f; }
.gg-footer-logo img { max-height: 62px; width: auto; filter: brightness(0) invert(1); }
.gg-footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; }

@media (max-width: 980px) {
  .et_pb_section { padding: 72px 0; }
  .gg-header .et_pb_row { display: block; min-height: 92px; }
  .gg-header .et_pb_menu__logo img { width: 205px; max-height: 55px; }
  .gg-header .et_pb_menu__wrap { justify-content: flex-end; }
  .gg-header .et_pb_button_module_wrapper { display: none; }
  .gg-hero { min-height: 620px; background-position: 66% center; }
  .gg-hero::before { background: rgba(7,29,36,.76); }
  .gg-proof-bar .et_pb_column { border-bottom: 1px solid var(--gg-line); border-right: 0; }
  .gg-system-image img { min-height: 420px; }
  .gg-quote-panel { padding: 35px !important; }
}

@media (max-width: 600px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.15rem; }
  .et_pb_row { width: 88%; }
  .gg-announcement .et_pb_column:last-child { display: none; }
  .gg-hero { min-height: 590px; padding: 70px 0 !important; }
  .gg-proof-inline > span { width: 100%; border: 0; padding: 8px 0; }
  .gg-card .et_pb_image img { height: 210px; }
  .gg-system-image img { min-height: 320px; }
  .gg-quote-panel { padding: 24px !important; }
}
