/* ==========================================================================
   Gator Page Kit
   --------------------------------------------------------------------------
   Styling hooks for the "Gator Homepage Template" builder layout. Every
   section is built from stock YOOtheme elements (headline, text, button,
   grid, list, accordion, image, video, divider) plus the child theme's
   `gg_form` element — these classes are applied via each element's
   Advanced → Class field, so editors can duplicate sections and keep the look.

   Brand tokens mirror the YOOtheme style (Fuse) LESS variables.
   ========================================================================== */

:root {
  --gg-purple-deep: #4F3B80;
  --gg-purple: #6C54A3;
  --gg-green: #96CA4F;
  --gg-teal: #00B5AF;
  --gg-ink: #231F20;
  --gg-shadow-ink: #321F20;
  --gg-panel: #F2FDFD;
  --gg-panel-alt: #E8F9F9;
  --gg-body-muted: #55565C;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.gg-tagline {
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gg-green) !important;
}

.gg-white,
.gg-white p { color: #fff !important; }

.gg-white-muted { color: #E5E5E7; }

.gg-h2 { color: var(--gg-purple-deep) !important; }

.gg-sub-dark { color: #CACACF; font-size: 16.5px; }

.gg-subtitle {
  font-weight: 800;
  font-size: 20px;
  color: var(--gg-purple-deep);
}

.gg-text-17 p, .gg-text-17 { font-size: 17px; }

.gg-faq-lead {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.45;
  color: var(--gg-body-muted);
}

/* Eyebrow label — teal on light sections, green on dark, 8px green underline */
.gg-eyebrow {
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gg-teal) !important;
  width: fit-content;
  padding-bottom: 10px;
  border-bottom: 8px solid var(--gg-green);
}

.gg-eyebrow--green { color: var(--gg-green) !important; }

/* Heading with the same green underline (Our Promise) */
.gg-underline {
  width: fit-content;
  padding-bottom: 14px;
  border-bottom: 8px solid var(--gg-green);
}

/* Centered headings/eyebrows keep their fit-content width centered */
.uk-text-center.gg-eyebrow,
.uk-text-center.gg-underline,
.uk-text-center .gg-eyebrow,
.uk-text-center .gg-underline {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Section panels — the rounded rectangle that holds a section's content
   ========================================================================== */

.gg-panel > .uk-container {
  background: var(--gg-panel);
  border-radius: 20px;
  padding-top: 56px;
  padding-bottom: 56px;
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
}

.gg-panel-dark > .uk-container {
  background: var(--gg-purple-deep);
  border-radius: 20px;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: clamp(24px, 4vw, 60px);
  padding-right: clamp(24px, 4vw, 60px);
}

/* Financing CTA strip — purple gradient banner */
.gg-banner > .uk-container {
  background: linear-gradient(100deg, #7158A9 0%, #6C54A3 32%, #4F3B80 100%);
  border-radius: 16px;
  padding-top: 34px;
  padding-bottom: 34px;
  padding-left: clamp(24px, 3vw, 44px);
  padding-right: clamp(24px, 3vw, 44px);
}

/* ==========================================================================
   Media slot — an optional Video (YouTube/Vimeo/file) + optional Image.
   Both stock elements render nothing when empty, so when the whole slot is
   empty we collapse the column and center the body column instead.
   ========================================================================== */

.gg-split:not(:has(.gg-media-col :is(img, video, iframe))) .gg-media-col {
  display: none;
}

.gg-split:not(:has(.gg-media-col :is(img, video, iframe))) .gg-body-col {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* centered state: re-center the elements that are left-aligned by default */
.gg-split:not(:has(.gg-media-col :is(img, video, iframe))) .gg-body-col :is(.gg-eyebrow, .gg-underline, .gg-tagline, hr) {
  margin-left: auto;
  margin-right: auto;
}

/* keep the rating block compact so it centers as one unit */
.gg-split:not(:has(.gg-media-col :is(img, video, iframe))) .gg-body-col .gg-hero-rating {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.gg-media-col img,
.gg-media-col video,
.gg-media-col iframe {
  border-radius: 18px;
}

/* Click-to-play poster.
   When the poster's Link Target is "Modal", YOOtheme wraps the image in a
   modal-toggle anchor — we draw the green play badge on that anchor, so any
   poster image gets one without baking it into the artwork. */
/* The poster fills its column (as in the design) and the anchor wraps it
   exactly — otherwise the anchor is column-width while the image sits at its
   intrinsic width, and the badge below centers on the anchor, not the image. */
.gg-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.gg-poster a[uk-toggle] {
  position: relative;
  display: block;
  line-height: 0;
}

.gg-poster a[uk-toggle]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50%;
  background: var(--gg-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat center;
  transition: transform 0.2s ease, background-color 0.2s ease;
  pointer-events: none;
}

.gg-poster a[uk-toggle]:hover::after {
  transform: scale(1.08);
}

/* ==========================================================================
   Trust bar — purple strip under the hero
   ========================================================================== */

.gg-trust .el-item { align-items: center; }

.gg-trust .el-image {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  padding: 6px;
  box-sizing: border-box;
  background: #EAE5F4;
}

.gg-trust .el-title {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  text-transform: none;
}

/* semantic icon tints, in the design's order */
.gg-trust > * > *:nth-child(1) .el-image { background: #FFFCD6; }
.gg-trust > * > *:nth-child(2) .el-image { background: #EAF5DA; }
.gg-trust > * > *:nth-child(3) .el-image { background: #FBE0E1; }
.gg-trust > * > *:nth-child(4) .el-image { background: #E8F9F9; }
.gg-trust > * > *:nth-child(5) .el-image { background: #EAE5F4; }

/* ==========================================================================
   Benefit cards — hard offset shadows, the brand's signature
   ========================================================================== */

.gg-cards .el-item {
  background: #fff;
  border: 3px solid var(--gg-purple-deep);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 12px 12px 0 0 var(--gg-purple-deep);
  transition: 0.2s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gg-cards .el-item:hover {
  border-color: var(--gg-green);
  box-shadow: 8px 8px 0 0 var(--gg-teal);
}

.gg-cards .el-image {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gg-purple-deep);
  padding: 9px;
  box-sizing: border-box;
}

.gg-cards .el-title {
  font-size: 21px;
  line-height: 1.4;
  color: var(--gg-teal);
}

.gg-cards .el-content {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--gg-body-muted);
}

.gg-cards .el-link,
.gg-cards .uk-button {
  margin-top: auto;
  font-size: 14px;
  line-height: 1;
  padding: 12px 18px;
  background: var(--gg-purple-deep);
  color: #fff;
  border-radius: 7px;
  box-shadow: 5px 5px 0 0 var(--gg-shadow-ink);
  transition: 0.3s ease-in-out;
}

.gg-cards .el-link:hover,
.gg-cards .uk-button:hover {
  background: #fff;
  color: var(--gg-purple);
  box-shadow: 0 0 0 transparent;
}

/* ==========================================================================
   Pricing cards
   ========================================================================== */

.gg-card {
  background: #fff;
  border: 3px solid var(--gg-purple-deep);
  border-radius: 10px;
  padding: 32px 30px;
  position: relative;
  box-shadow: 12px 12px 0 0 var(--gg-purple-deep);
  transition: 0.2s ease-in-out;
}

.gg-card:hover {
  border-color: var(--gg-green);
  box-shadow: 8px 8px 0 0 var(--gg-teal);
}

.gg-card--featured { outline: 3px solid var(--gg-green); outline-offset: -8px; }

.gg-card .el-title { color: var(--gg-teal); font-size: 24px; }

.gg-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gg-green);
  border-radius: 10px;
  padding: 7px 14px;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 2px;
  color: var(--gg-shadow-ink) !important;
  white-space: nowrap;
  z-index: 1;
}

.gg-price {
  font-weight: 800;
  font-size: 40px;
  text-transform: uppercase;
  color: var(--gg-purple-deep);
  line-height: 1.1;
}

.gg-price small {
  font-size: 17px;
  font-weight: 600;
  color: #2D2E33;
  text-transform: none;
}

.gg-plan-tag {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--gg-purple-deep);
}

.gg-plan-note { font-size: 14px; color: var(--gg-body-muted); }

.gg-plan-list .el-item { font-size: 15.5px; color: var(--gg-ink); }

.gg-plan-btn .uk-button {
  display: block;
  width: 100%;
  text-align: center;
  border: 3px solid var(--gg-purple-deep);
  border-radius: 10px;
  color: var(--gg-purple-deep);
  background: transparent;
  box-shadow: none;
  transition: 0.3s ease-in-out;
}

.gg-plan-btn .uk-button:hover {
  background: var(--gg-purple-deep);
  color: #fff;
}

.gg-plan-btn .uk-button-secondary {
  background: var(--gg-green);
  border-color: var(--gg-green);
  color: var(--gg-shadow-ink);
}

.gg-plan-btn .uk-button-secondary:hover {
  background: var(--gg-teal);
  border-color: var(--gg-teal);
  color: var(--gg-shadow-ink);
}

/* ==========================================================================
   Value tiles (Our Promise)
   The purple box wraps the icon + title only; the caption sits below it, so
   the grid item is laid out as three rows with a background layer spanning
   the first two.
   ========================================================================== */

.gg-values .el-item {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
  background: none;
  border: 0;
}

.gg-values .el-item::before {
  content: "";
  grid-area: 1 / 1 / 3 / 2;
  min-height: 200px;
  background: var(--gg-purple-deep);
  border-radius: 10px;
  box-shadow: 8px 8px 0 0 var(--gg-green);
  transition: 0.2s ease-in-out;
}

.gg-values .el-item:hover::before { box-shadow: 8px 8px 0 0 var(--gg-teal); }

/* margin, not padding — UIkit sets border-box, so padding would shrink the icon */
.gg-values .el-image {
  grid-area: 1 / 1 / 2 / 2;
  justify-self: center;
  align-self: end;
  margin: 34px 0 0;
  padding: 0;
}

.gg-values .el-title {
  grid-area: 2 / 1 / 3 / 2;
  align-self: start;
  margin: 0;
  padding: 18px 20px 34px;
  text-align: center;
  color: var(--gg-green);
  font-size: 21px;
  line-height: 1.4;
}

.gg-values .el-content {
  grid-area: 3 / 1 / 4 / 2;
  margin: 22px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
  color: var(--gg-ink);
}

/* ==========================================================================
   Financing banner internals
   ========================================================================== */

.gg-banner-price {
  font-weight: 800;
  font-size: 44px;
  text-transform: uppercase;
  color: var(--gg-green);
  line-height: 1.1;
  margin: 0;
}

.gg-banner-price span {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  text-transform: none;
}

.gg-banner-sub { color: #E5E5E7; font-size: 16px; }

/* ==========================================================================
   Services checklist
   ========================================================================== */

.gg-check-list {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.gg-check-list .el-item {
  font-weight: 700;
  font-size: 17px;
  color: var(--gg-ink);
}

/* ==========================================================================
   Location cards — Column elements with a background image + purple scrim
   ========================================================================== */

/* A column's background image renders on an inner `.uk-tile` wrapper, so the
   card chrome and scrim go there — not on the column itself. */
.gg-loc .uk-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 265px;
  padding: 26px;
  box-sizing: border-box;
}

.gg-loc .uk-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(79, 59, 128, 0.88), rgba(79, 59, 128, 0.8));
}

.gg-loc .uk-tile > * { position: relative; z-index: 1; }

.gg-loc-city {
  color: #fff !important;
  font-size: 22px;
  letter-spacing: 2px;
}

.gg-loc p,
.gg-loc a { color: #fff; font-weight: 700; font-size: 16px; }

.gg-loc a:hover { color: var(--gg-green); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.gg-accordion > * {
  background: var(--gg-panel);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 14px;
}

.gg-accordion > *:first-child { margin-top: 0; }

.gg-accordion .uk-accordion-title {
  padding: 22px 26px;
  font-weight: 600;
  font-size: 16px;
  color: #2D2E33;
  margin: 0;
}

.gg-accordion .uk-open { background: var(--gg-panel-alt); }

.gg-accordion .uk-accordion-content {
  padding: 0 26px 24px;
  margin-top: 0;
}

/* ==========================================================================
   Booking form (gg_form element)
   ========================================================================== */

.gg-form-panel {
  background: var(--gg-purple);
  border-radius: 24px;
  padding: 36px clamp(20px, 3vw, 40px);
}

.gg-form-panel .el-title {
  margin: 0 0 4px;
  text-align: center;
  color: var(--gg-green);
}

.gg-form-panel .gg-form-desc {
  margin: 0 0 24px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.gg-form-panel .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.gg-form-panel .gform_wrapper textarea,
.gg-form-panel .gform_wrapper select {
  background: #fff;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 14px 18px;
  font-size: 16.5px;
  color: var(--gg-ink);
}

.gg-form-panel .gform_wrapper ::placeholder {
  color: #B4B5BA !important;
  font-size: 16px !important;
}

.gg-form-panel .gform_wrapper .gfield_consent_label,
.gg-form-panel .gform_wrapper .gfield_checkbox label {
  font-size: 10.5px !important;
  line-height: 1.45;
  color: #E5E5E7 !important;
}

.gg-form-panel .gform_footer { display: flex; justify-content: center; }

/* ==========================================================================
   Buttons & misc
   ========================================================================== */

/* deep-purple filled buttons (design uses #4F3B80; site primary is #6C54A3) */
.gg-cta .uk-button-primary { background: var(--gg-purple-deep); }
.gg-cta .uk-button-primary:hover { background: #fff; }

.gg-btn-lg .uk-button { font-size: 19px; line-height: 56px; }

.gg-ref-cta .uk-button-default {
  background: #fff;
  color: var(--gg-shadow-ink);
  border-radius: 10px;
  box-shadow: 5px 5px 0 0 var(--gg-shadow-ink);
  border: 3px solid transparent;
  transition: 0.3s ease-in-out;
}

.gg-ref-cta .uk-button-default:hover {
  background: var(--gg-teal);
  box-shadow: 0 0 0 transparent;
  color: var(--gg-shadow-ink);
}

.gg-round14 img { border-radius: 14px; }

.gg-divider-line {
  border-top: 1px solid #B4B5BA;
  max-width: 665px;
}

.gg-hero-rating .el-item { align-items: center; }

.gg-hero-rating .el-image { height: 30px; width: auto; }

.gg-hero-rating .gg-stars {
  color: var(--gg-green);
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1.2;
}

.gg-hero-rating .gg-count {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
