/*
Theme Name: Kadence Child
Template: kadence
*/

/* ============================================================
   HIDE KADENCE DEFAULT HEADER & FOOTER
   ============================================================ */
#masthead, .site-header, .kadence-header { display: none !important; }
#colophon, .site-footer, .kadence-footer { display: none !important; }

/* ============================================================
   BREAK OUT OF KADENCE CONTENT CONSTRAINTS
   ============================================================ */
.content-area, .site-main, .entry-content,
article.page {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.entry-content .wp-block-html,
.entry-content .wp-block-freeform {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.wp-site-blocks {
  max-width: 100% !important;
}

/* ============================================================
   GFS GRID FIXES — reinforce in child theme in case page CSS
   gets corrupted by Gutenberg encoding
   ============================================================ */
.gfs-services {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
}
.gfs-why-grid {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr !important;
  gap: 60px !important;
  align-items: start !important;
}
.gfs-why-cards {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}
.gfs-process-steps {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
}
.gfs-testimonials {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
@media (max-width: 980px) {
  .gfs-services { grid-template-columns: repeat(2, 1fr) !important; }
  .gfs-process-steps { grid-template-columns: 1fr !important; }
  .gfs-why-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 620px) {
  .gfs-services { grid-template-columns: 1fr !important; }
  .gfs-testimonials { grid-template-columns: 1fr !important; }
  .gfs-why-cards { grid-template-columns: 1fr !important; }
}

/* ============================================================
   GFS HEADER / NAV
   ============================================================ */
.gfs-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(251,250,246,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  font-family: 'Manrope', system-ui, sans-serif;
}
.gfs-nav.scrolled { border-bottom-color: #E7E3D6; }
.gfs-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
}
.gfs-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #0E1B2C;
  font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em; line-height: 1.1;
}
.gfs-logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(120deg,#10B981 0%,#84CC16 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Fraunces',Georgia,serif;
  font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.gfs-logo small {
  display: block; font-size: 11px; color: #4B5A6E;
  font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
}
.gfs-nav-links {
  display: flex; gap: 28px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.gfs-nav-links a {
  font-size: 15px; font-weight: 500; color: #4B5A6E;
  text-decoration: none; transition: color 0.15s ease;
}
.gfs-nav-links a:hover { color: #0E1B2C; }
.gfs-nav-cta { display: flex; align-items: center; gap: 14px; }
.gfs-phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 15px; color: #0E1B2C;
  text-decoration: none; white-space: nowrap;
}
.gfs-phone svg { width: 16px; height: 16px; flex-shrink: 0; }
.gfs-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: #0E1B2C; color: #fff !important;
  font-family: 'Manrope',sans-serif; font-weight: 700;
  font-size: 15px; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.gfs-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14,27,44,.15);
  color: #fff !important;
}
.gfs-btn-dark { color: #fff !important; }
.gfs-btn-dark:hover { color: #fff !important; }
.gfs-hamburger {
  display: none; background: none; border: none;
  padding: 4px; cursor: pointer; color: #0E1B2C;
}
.gfs-mobile-menu {
  display: none; flex-direction: column;
  background: #FBFAF6; border-top: 1px solid #E7E3D6;
  padding: 8px 24px 20px;
}
.gfs-mobile-menu.open { display: flex; }
.gfs-mobile-menu a {
  font-size: 17px; font-weight: 600; color: #0E1B2C;
  text-decoration: none; padding: 13px 0;
  border-bottom: 1px solid #E7E3D6;
}
.gfs-mobile-menu a:last-child { border-bottom: none; }
.gfs-mobile-cta { margin-top: 16px; text-align: center; }

/* ============================================================
   GFS FOOTER
   ============================================================ */
.gfs-footer {
  background: #0E1B2C; color: rgba(255,255,255,0.75);
  padding: 70px 0 30px; margin-top: 80px;
  font-family: 'Manrope',system-ui,sans-serif;
}
.gfs-footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gfs-foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 50px;
}
.gfs-foot-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff; font-weight: 800;
  font-size: 18px; letter-spacing: -0.02em; margin-bottom: 16px;
}
.gfs-foot-logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(120deg,#10B981 0%,#84CC16 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Fraunces',Georgia,serif;
  font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.gfs-foot-logo small {
  display: block; font-size: 11px; color: rgba(255,255,255,0.55);
  font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
}
.gfs-foot-desc {
  font-size: 14px; color: rgba(255,255,255,0.55);
  line-height: 1.6; max-width: 300px; margin: 0;
}
.gfs-footer h5 {
  font-family: 'Manrope',sans-serif; color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin: 0 0 16px;
}
.gfs-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gfs-footer ul a {
  font-size: 14px; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: color 0.15s ease;
}
.gfs-footer ul a:hover { color: #fff; }
.gfs-foot-bot {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: flex-start;
  gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.gfs-foot-legal { max-width: 760px; line-height: 1.6; }
.gfs-foot-legal strong { color: rgba(255,255,255,0.75); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .gfs-nav-links, .gfs-phone { display: none; }
  .gfs-hamburger { display: block; }
  .gfs-btn { padding: 10px 18px; font-size: 14px; }
}
@media (max-width: 800px) {
  .gfs-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gfs-foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .gfs-btn { display: none; }
}

/* ============================================================
   MOBILE: HERO EDGE TO EDGE
   ============================================================ */
@media (max-width: 767px) {
  .entry-content-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .gfs-hero {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 0 !important;
  }
  .gfs-hero .gfs-wrap {
    max-width: 100% !important;
    padding: 0 20px !important;
    margin: 0 !important;
  }
  .gfs-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
