/* GYRC Redesign — ADU Cities skin, homepage only (body.home).
   Presentational only: no content, layout structure, forms or links change.
   v1.0.2: no :has() selectors anywhere (they silently failed in the
   verification browser) — all card targets use exact Divi column classes.
   The gold "Call Us Today!" strip is styled explicitly; the v1.0.1 blanket
   row-transparent rule that killed its gold is removed. */

body.home {
  --gyrc-navy: #0A1E3C;
  --gyrc-navy-2: #0D2A52;
  --gyrc-gold: #FFC527;
  --gyrc-gold-2: #F2B234;
  --gyrc-band: #EEF3F8;
  --gyrc-ink: #14273F;
  --gyrc-line: #C9D6E4;
  --gyrc-shadow: 0 16px 38px rgba(10, 30, 60, .16);
  --gyrc-radius: 18px;
}

/* ---------- Header (Theme Builder): navy bar, white menu links ---------- */
body.home .et_pb_section_0_tb_header {
  background: linear-gradient(180deg, var(--gyrc-navy), #0B2142) !important;
  box-shadow: 0 4px 24px rgba(7, 22, 48, .35);
}
body.home .et_pb_section_0_tb_header .et_pb_row_0_tb_header {
  background: var(--gyrc-gold) !important;
}
body.home .et_pb_row_0_tb_header .et_pb_text_inner,
body.home .et_pb_row_0_tb_header p,
body.home .et_pb_row_0_tb_header a,
body.home .et_pb_row_0_tb_header span {
  color: var(--gyrc-navy) !important;
  font-weight: 700;
}
body.home .et_pb_section_0_tb_header .et_pb_menu a,
body.home .et_pb_section_0_tb_header .et-menu a,
body.home .et_pb_section_0_tb_header .et-menu li a { color: #FFFFFF !important; }
body.home .et_pb_section_0_tb_header .et_pb_menu a:hover,
body.home .et_pb_section_0_tb_header .et-menu a:hover { color: var(--gyrc-gold) !important; }
body.home .et_pb_section_0_tb_header .et-menu li.current-menu-item > a { color: var(--gyrc-gold) !important; }
body.home .et_pb_section_0_tb_header .mobile_menu_bar:before { color: #FFFFFF !important; }
body.home .et_pb_section_0_tb_header .et_mobile_menu { background: var(--gyrc-navy) !important; }
body.home .et_pb_section_0_tb_header .et_mobile_menu a { color: #FFFFFF !important; }

/* ---------- Buttons: ADU Cities gold pill ---------- */
body.home .et_pb_button,
body.home .gform_button,
body.home .gform_next_button,
body.home input[type="submit"].gform_button {
  background: var(--gyrc-gold) !important;
  border: 2px solid var(--gyrc-gold) !important;
  color: var(--gyrc-navy) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 22px rgba(242, 178, 52, .35);
}
body.home .et_pb_button:hover,
body.home .gform_button:hover {
  background: #FFD34D !important;
  border-color: #FFD34D !important;
  color: var(--gyrc-navy) !important;
}

/* ---------- Section titles: navy with a gold rule ---------- */
body.home .et_pb_section_1 h2,
body.home .et_pb_section_2 h2,
body.home .et_pb_section_4 h2,
body.home .et_pb_section_7 h2,
body.home .et_pb_section_9 h2 { color: var(--gyrc-navy) !important; }

body.home .et_pb_section_5 h2,
body.home .et_pb_section_8 h2,
body.home .et_pb_section_10 h2 { color: #FFFFFF !important; }

body.home .et_pb_text h2 { position: relative; }
body.home .et_pb_text h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--gyrc-gold);
  margin-top: 14px;
}
body.home .et_pb_text_align_center h2::after,
body.home .et_pb_text_align_justified h2::after { margin-left: auto; margin-right: auto; }

/* ---------- Quote band (section 1): navy, form on a white card ---------- */
body.home .et_pb_section_1 {
  background: linear-gradient(135deg, var(--gyrc-navy) 0%, var(--gyrc-navy-2) 100%) !important;
}
body.home .et_pb_section_1 .et_pb_column_1 {
  background: #FFFFFF;
  border-radius: var(--gyrc-radius);
  padding: 30px 30px 18px;
  box-shadow: var(--gyrc-shadow);
}
body.home .gform_wrapper input[type="text"],
body.home .gform_wrapper input[type="email"],
body.home .gform_wrapper input[type="tel"],
body.home .gform_wrapper select,
body.home .gform_wrapper textarea {
  border-radius: 10px !important;
  border: 1px solid var(--gyrc-line) !important;
}

/* ---------- Trusted Partner (section 2): light band, rounded photos ---------- */
body.home .et_pb_section_2 { background: var(--gyrc-band) !important; }
body.home .et_pb_section_2 .et_pb_image img {
  border-radius: var(--gyrc-radius);
  box-shadow: var(--gyrc-shadow);
}

/* ---------- Services (section 4): white cards on a light band ---------- */
body.home .et_pb_section_4 { background: var(--gyrc-band) !important; }
body.home .et_pb_section_4 .et_pb_column_6,
body.home .et_pb_section_4 .et_pb_column_7,
body.home .et_pb_section_4 .et_pb_column_8,
body.home .et_pb_section_4 .et_pb_column_9,
body.home .et_pb_section_4 .et_pb_column_10 {
  background: #FFFFFF !important;
  border: 1px solid var(--gyrc-line) !important;
  border-radius: var(--gyrc-radius) !important;
  box-shadow: var(--gyrc-shadow) !important;
  padding: 16px 16px 24px !important;
  overflow: hidden;
}
body.home .et_pb_section_4 h3,
body.home .et_pb_section_4 h4 { color: var(--gyrc-navy) !important; }

/* ---------- Why Choose Us + testimonials (section 5): glass cards on the photo ---------- */
body.home .et_pb_section_5 .et_pb_blurb {
  background: rgba(255, 255, 255, .97);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--gyrc-shadow);
}
body.home .et_pb_section_5 .et_pb_blurb h4 { color: var(--gyrc-navy) !important; }
body.home .et_pb_section_5 .et_pb_blurb p,
body.home .et_pb_section_5 .et_pb_blurb .et_pb_blurb_description { color: var(--gyrc-ink) !important; }

/* ---------- Process (section 7): light band, step cards, ALL text dark ---------- */
body.home .et_pb_section_7 { background: var(--gyrc-band) !important; }
body.home .et_pb_section_7 .et_pb_column_inner_4,
body.home .et_pb_section_7 .et_pb_column_inner_5,
body.home .et_pb_section_7 .et_pb_column_inner_6,
body.home .et_pb_section_7 .et_pb_column_inner_7 {
  background: #FFFFFF !important;
  border: 1px solid var(--gyrc-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--gyrc-shadow) !important;
  padding: 24px !important;
}
body.home .et_pb_section_7 h3,
body.home .et_pb_section_7 h4 { color: var(--gyrc-navy) !important; }
body.home .et_pb_section_7 .et_pb_text_inner,
body.home .et_pb_section_7 p,
body.home .et_pb_section_7 li,
body.home .et_pb_section_7 span { color: var(--gyrc-ink) !important; }

/* ---------- Service Areas (section 8): navy band ---------- */
body.home .et_pb_section_8 {
  background: linear-gradient(135deg, var(--gyrc-navy) 0%, var(--gyrc-navy-2) 100%) !important;
}
body.home .et_pb_section_8 p,
body.home .et_pb_section_8 li { color: #E8EEF6; }

/* ---------- Before & After (section 9): light band; slider handle gold ---------- */
body.home .et_pb_section_9 { background: var(--gyrc-band) !important; }
body.home .gyrc-ba-handle { background: var(--gyrc-gold) !important; color: var(--gyrc-navy) !important; }

/* ---------- Final CTA (section 10): navy, all text light ---------- */
body.home .et_pb_section_10 {
  background: linear-gradient(135deg, var(--gyrc-navy) 0%, var(--gyrc-navy-2) 100%) !important;
}
body.home .et_pb_section_10 h3,
body.home .et_pb_section_10 p,
body.home .et_pb_section_10 .et_pb_text_inner { color: #E8EEF6 !important; }

/* ---------- v1.1.0 media takeover: moving clips replace the old photos ---------- */
body.home video.gyrc-mv {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
body.home video.gyrc-bgvid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  pointer-events: none;
}
/* Service-card photo boxes become video frames */
body.home .et_pb_section_4 .et_pb_divider {
  position: relative !important;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
}
/* Trusted Partner images become videos (img kept for layout, hidden) */
body.home .et_pb_section_2 .et_pb_image.gyrc-imgvid {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
/* Service Areas panel becomes a video */
body.home .et_pb_section_8 .et_pb_column_21 {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 320px;
}
/* Section background videos sit behind the content rows */
body.home .et_pb_section_3,
body.home .et_pb_section_5 { position: relative; }
body.home .et_pb_section_3 > .et_pb_row,
body.home .et_pb_section_5 > .et_pb_row,
body.home .et_pb_section_5 > .et_pb_section_parallax { position: relative; z-index: 1; }
/* Testimonials (section 6): portrait photos gone, washed photo strip gone —
   clean white cards only */
body.home .et_pb_section_6 .et_pb_image { display: none !important; }
body.home .et_pb_section_6 .et_pb_column_15,
body.home .et_pb_section_6 .et_pb_column_16,
body.home .et_pb_section_6 .et_pb_column_17 {
  background: #FFFFFF !important;
}
