/* Grand View Hospitality: brand layer on top of the cloned template */
:root {
  --gv-title-shade: linear-gradient(160deg, rgba(2, 29, 24, .88) 0%, rgba(7, 39, 31, .8) 55%, rgba(13, 58, 48, .86) 100%);
  --gv-green: #021d18;
  --gv-green-2: #0a2e26;
  --gv-green-3: #12453a;
  --gv-gold: #cfab66;
  --gv-gold-light: #e8c97a;
  --gv-gold-dark: #8a6a1f;
  --gv-cream: #faf6ef;
  --gv-text: #3b4a46;
}

#page { overflow-x: clip; }
.gv-bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* logos */
.logo img.default, .logo img.small { height: 60px; width: auto; max-width: none; }
.logo img.small { height: 44px; }
.custom-footer img[src$="logo-footer.png"] { width: 150px; height: auto; max-width: none; }

/* page title block on inner pages: brand green instead of the template photo */
#page-title .vc_row.vc_row-has-fill {
  background-image: radial-gradient(900px 380px at 78% 0%, rgba(207, 171, 102, .20), transparent 70%),
    linear-gradient(160deg, #021d18 0%, #07271f 55%, #0d3a30 100%) !important;
}

/* the photo is laid out once over the title block plus the breadcrumb tab (80px) below it, so the tab and its curves continue the photo */
#page-title { container-type: inline-size; --gv-hh: 360px; --gv-vh: calc(var(--gv-hh) + 80px); --gv-iw: max(100cqw, calc(var(--gv-vh) * 4.8)); }
@media (max-width: 1023px) { #page-title { --gv-hh: 340px; } }
#page-title.gv-title-about-us { --gv-title-img: url(../img/title-about.webp); }
#page-title.gv-title-solutions { --gv-title-img: url(../img/title-solutions.webp); }
#page-title.gv-title-contact { --gv-title-img: url(../img/title-contact.webp); }
#page-title[class*="gv-title-"] .vc_row.vc_row-has-fill {
  background-image: var(--gv-title-shade), var(--gv-title-img) !important;
  background-repeat: no-repeat !important;
  background-size: 100cqw var(--gv-vh), var(--gv-iw) auto !important;
  background-position: 0 0, calc((100cqw - var(--gv-iw)) / 2) calc((var(--gv-vh) - var(--gv-iw) / 4.8) / 2) !important;
}
@media (min-width: 701px) {
  #page-title[class*="gv-title-"] .custom-breabcrumb-row .vc_column-inner {
    --px: calc((100cqw - 475px) / 2);
    background-color: transparent !important;
    background-image: var(--gv-title-shade), var(--gv-title-img) !important;
    background-repeat: no-repeat !important;
    background-size: 100cqw var(--gv-vh), var(--gv-iw) auto !important;
    background-position: calc(-1 * var(--px)) calc(-1 * var(--gv-hh)),
      calc((100cqw - var(--gv-iw)) / 2 - var(--px)) calc((var(--gv-vh) - var(--gv-iw) / 4.8) / 2 - var(--gv-hh)) !important;
  }
}

/* generic section rhythm */
.gv-sec { padding: 80px 0; }
.gv-eyebrow { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--gv-gold); margin: 0 0 22px; }
.gv-eyebrow-dark { color: var(--gv-gold-dark); }
.gv-head { max-width: 900px; margin-bottom: 50px; }
.gv-head h2, .gv-two h2, .gv-cta h2 { margin: 0; }
.gv-intro { font-size: 20px; line-height: 1.5; margin: 26px 0 0; color: var(--gv-text); }

/* hero (home) */
.gv-hero {
  background-image: radial-gradient(900px 480px at 82% 8%, rgba(207, 171, 102, .22), transparent 70%),
    linear-gradient(160deg, rgba(2, 29, 24, .9) 0%, rgba(7, 39, 31, .84) 55%, rgba(13, 58, 48, .9) 100%),
    url(../img/hero-bg.webp);
  background-size: auto, auto, cover; background-position: center;
  text-align: center; padding: 0 !important;
}
.gv-hero-in { max-width: 980px; margin: 0 auto; padding: 200px 24px 70px; color: #fff; }
.gv-h1 { color: #fff; font-size: clamp(38px, 5.4vw, 78px); line-height: 1.08; margin: 0 0 30px; font-weight: 400; }
.gv-lead { color: rgba(255, 255, 255, .86); font-size: 19px; line-height: 1.6; max-width: 760px; margin: 0 auto 36px; }
.gv-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.gv-sub { color: var(--gv-gold); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 56px 0 14px; }
.gv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gv-chips li { border: 1px solid rgba(207, 171, 102, .45); color: #fff; border-radius: 999px; padding: 8px 18px; font-size: 14px; }

/* buttons */
.gv-btn { display: inline-block; border-radius: 999px; padding: 15px 32px; font-size: 16px; line-height: 1; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.gv-btn-gold { background: var(--gv-gold); color: var(--gv-green); }
.gv-btn-gold:hover { background: var(--gv-gold-light); color: var(--gv-green); }
.gv-btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); color: #fff; }
.gv-btn-ghost:hover { background: #fff; color: var(--gv-green); }

/* two column text block */
.gv-two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: start; }
.gv-prose p { font-size: 18px; line-height: 1.65; margin: 0 0 20px; color: var(--gv-text); }
.gv-prose .gv-btn { margin-top: 8px; }
.gv-lead-dark { font-size: 22px !important; line-height: 1.5 !important; color: var(--gv-green) !important; }
.gv-panel { background: var(--gv-cream); border-radius: 35px; padding: 50px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.gv-panel p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--gv-text); }

/* cards */
.gv-grid { display: grid; gap: 22px; }
.gv-card { position: relative; background: var(--gv-cream); border-radius: 28px; padding: 40px 38px 38px; }
.gv-card h3 { margin: 40px 0 14px; color: var(--gv-green); }
.gv-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--gv-text); }
.gv-num { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; background: var(--gv-gold); color: var(--gv-green); font-size: 14px; }
.gv-card .gv-num { position: absolute; top: 28px; right: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(138, 106, 31, .25); }

/* dark band */
.gv-dark { background: var(--gv-green); color: #fff; padding: 0; }
.gv-dark-in { max-width: 1250px; margin: 0 auto; padding: 90px 40px; }
.gv-dark h2 { color: #fff; }
.gv-dark .gv-prose p { color: rgba(255, 255, 255, .82); }
.gv-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gv-check li { background: var(--gv-green-2); border-radius: 20px; padding: 20px 26px 20px 60px; position: relative; font-size: 17px; line-height: 1.45; }
.gv-check li::before { content: ""; position: absolute; left: 26px; top: 26px; width: 12px; height: 7px; border-left: 2px solid var(--gv-gold); border-bottom: 2px solid var(--gv-gold); transform: rotate(-45deg); }

/* call to action */
.gv-cta { background-image: radial-gradient(700px 300px at 90% 0%, rgba(207, 171, 102, .25), transparent 70%), linear-gradient(135deg, #021d18, #0d3a30); border-radius: 35px; padding: 60px 64px; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.gv-cta h2 { color: #fff; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; }
.gv-cta p { color: rgba(255, 255, 255, .82); font-size: 17px; line-height: 1.6; margin: 18px 0 0; max-width: 720px; }

/* contact form */
.gv-form p { margin: 0 0 16px; }
.gv-form label { display: block; font-size: 15px; color: var(--gv-text); }
.gv-form input, .gv-form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 16px; border: 1px solid #d9d2c3; border-radius: 14px; background: #fff; font: inherit; color: var(--gv-green); }
.gv-form input:focus, .gv-form textarea:focus { outline: 2px solid var(--gv-gold); border-color: var(--gv-gold); }
.gv-form-status { font-size: 15px; min-height: 1.4em; }

@media (max-width: 991px) {
  .gv-two, .gv-panel, .gv-cta { grid-template-columns: 1fr; gap: 30px; }
  .gv-cta { padding: 44px 32px; }
  .gv-panel { padding: 36px 30px; }
}
@media (max-width: 640px) {
  .gv-sec { padding: 56px 0; }
  .gv-hero-in { padding: 150px 20px 50px; }
  .gv-dark-in { padding: 60px 20px; }
}

/* five pillars: three on top, two below */
.gv-grid-5 { grid-template-columns: repeat(6, 1fr); }
.gv-grid-5 .gv-card { grid-column: span 2; }
.gv-grid-5 .gv-card:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 991px) { .gv-grid-5 { grid-template-columns: repeat(2, 1fr); } .gv-grid-5 .gv-card, .gv-grid-5 .gv-card:nth-child(n+4) { grid-column: auto; } }
@media (max-width: 640px) { .gv-grid-5 { grid-template-columns: 1fr; } }

/* heading split into one sentence per line */
.gv-h2-lines span { display: block; }

/* call to action sits inside the footer notch, as in the template */
.gv-sec-cta { padding: 60px 0 0; margin-bottom: -60px; position: relative; z-index: 3; }
@media (max-width: 991px) { .gv-sec-cta { margin-bottom: 0; padding-bottom: 40px; } }

/* breathing room between the last block of a page and the footer cut-out */
.gv-end-space { height: 90px; }

/* chip strip on the light intro section */
.gv-strip { text-align: center; margin-bottom: 64px; }
.gv-strip .gv-sub { color: var(--gv-gold-dark); margin: 0 0 18px; }
.gv-strip .gv-chips li { color: var(--gv-green); border-color: rgba(138, 106, 31, .5); }

/* the stats row's pictures hang below the hero, so the next section starts lower */
.gv-sec-after-stats { padding-top: 150px; }
@media (max-width: 991px) { .gv-sec-after-stats { padding-top: 80px; } }

/* with the headline gone, the dark card sits centred beside the two picture cards */
@media (min-width: 768px) { .gv-gap { display: flex; align-items: center; } }

/* the picture cards reach 60px into the dark band below them, as the footer cut-out does */
.gv-gap { position: relative; z-index: 3; }
.gv-after-gap { margin-top: -61px; }   /* 1px higher than the cards' overlap so the band top meets the corner pieces exactly */
.gv-after-gap .gv-dark-in { padding-top: 106px; }
@media (max-width: 767px) { .gv-after-gap { margin-top: 0; } .gv-after-gap .gv-dark-in { padding-top: 60px; } }
.gv-after-tall .gv-dark-in { padding-top: 170px; }   /* the same room below the corner pieces as under the content (90px) */
@media (max-width: 767px) { .gv-after-tall .gv-dark-in { padding-top: 60px; } }

/* expertise carousel (home): looping, auto-playing cards */
.gv-car { margin-top: 60px; }
.gv-car-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.gv-car-track::-webkit-scrollbar { display: none; }
.gv-car-card { position: relative; flex: 0 0 340px; min-height: 470px; box-sizing: border-box; scroll-snap-align: start; border-radius: 30px; padding: 40px 34px 36px; display: flex; flex-direction: column; justify-content: space-between; background: #f8f4ea; color: var(--gv-green); }
.gv-t1 { background: #f3ecd9; }
.gv-t2 { background: #eee2c4; }
.gv-t3 { background: #e8d6a9; }
.gv-ico { position: absolute; top: 24px; right: 24px; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--gv-gold-dark, #8a6a1f); }
.gv-car-card h3 { margin: 56px 0 0; color: var(--gv-green); padding-right: 30px; }
.gv-car-card p { margin: 28px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--gv-text); }
.gv-car-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.gv-car-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(207, 171, 102, .6); background: transparent; color: var(--gv-gold); font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.gv-car-btn:hover, .gv-car-btn:focus-visible { background: var(--gv-gold); color: var(--gv-green); }
@media (max-width: 640px) { .gv-car-card { flex-basis: 82%; min-height: 440px; } }
.gv-center { text-align: center; }
.gv-center h2 { margin-bottom: 0; }
/* the copyright line stays on one line, so the bottom bar keeps the height of its two corner pieces */
.vc_custom_1770209022904 .thegem-heading { white-space: nowrap; }
.gv-ico svg { width: 28px; height: 28px; }
.gv-card-text { margin: 0; max-width: 340px; font-size: 18px; line-height: 1.6; color: var(--gv-text); position: relative; z-index: 2; }
@media (max-width: 767px) { .gv-card-text { max-width: none; text-shadow: 0 0 6px #f2f0ee, 0 0 12px #f2f0ee; } }

/* hero photo cards */
.gv-ph-col > .vc_column-inner { padding: 0 !important; background: none !important; }
.gv-ph { position: relative; margin: 0; overflow: hidden; border-radius: 35px; background: var(--gv-green-2); }
.gv-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gv-ph figcaption { position: absolute; left: 16px; top: 16px; max-width: calc(100% - 32px); padding: 8px 16px; border-radius: 30px; background: rgba(2, 29, 24, .78); color: #fff; font-size: 14px; line-height: 1.3; text-align: left; }
@media (min-width: 1200px) { .gv-ph-col.custom-md-hidden { display: flex !important; flex: 0 0 20% !important; width: 20% !important; max-width: 20% !important; } }   /* five cards across on laptop screens too */

/* Home: the three picture cards under the hero carry no text */
.gv-gap .vc_custom_1770073491512 { background-image: url(../img/gap-1.webp) !important; min-height: 460px; }
.gv-gap .vc_custom_1770074275985 { background-image: url(../img/gap-2.webp) !important; min-height: 315px; }
.gv-gap .vc_custom_1770073569018 { background-image: url(../img/gap-3.webp) !important; min-height: 320px; }

/* About: the objective row's cards are photos; the third keeps its text over a dark wash */
#vc_row-6af0cc23b7f4d .vc_custom_1770073491512 { background-image: url(../img/about-card-1.webp) !important; min-height: 460px; }
#vc_row-6af0cc23b7f4d .vc_custom_1770215497567 { background-image: url(../img/about-card-2.webp) !important; min-height: 505px; }
#vc_row-6af0cc23b7f4d .vc_custom_1770073569018 { background-image: linear-gradient(rgba(2, 29, 24, .74), rgba(2, 29, 24, .74)), url(../img/about-card-3.webp) !important; }
#vc_row-6af0cc23b7f4d .gv-card-text { color: #fff; text-shadow: none; }
@media (max-width: 767px) {
  #vc_row-6af0cc23b7f4d .vc_custom_1770073491512 { min-height: 380px; }
  #vc_row-6af0cc23b7f4d .vc_custom_1770215497567 { min-height: 300px; }
}

/* Solutions: the six cards are photos under a brand green wash */
.gv-sol-1 { background-image: linear-gradient(180deg, rgba(2, 29, 24, .66), rgba(2, 29, 24, .86)), url(../img/sol-1.webp) !important; background-size: cover !important; background-position: center !important; }
.gv-sol-2 { background-image: linear-gradient(180deg, rgba(2, 29, 24, .66), rgba(2, 29, 24, .86)), url(../img/sol-2.webp) !important; background-size: cover !important; background-position: center !important; }
.gv-sol-3 { background-image: linear-gradient(180deg, rgba(2, 29, 24, .66), rgba(2, 29, 24, .86)), url(../img/sol-3.webp) !important; background-size: cover !important; background-position: center !important; }
.gv-sol-4 { background-image: linear-gradient(180deg, rgba(2, 29, 24, .66), rgba(2, 29, 24, .86)), url(../img/sol-4.webp) !important; background-size: cover !important; background-position: center !important; }
.gv-sol-5 { background-image: linear-gradient(180deg, rgba(2, 29, 24, .66), rgba(2, 29, 24, .86)), url(../img/sol-5.webp) !important; background-size: cover !important; background-position: center !important; }
.gv-sol-6 { background-image: linear-gradient(180deg, rgba(2, 29, 24, .66), rgba(2, 29, 24, .86)), url(../img/sol-6.webp) !important; background-size: cover !important; background-position: center !important; }
#vc_row-6af0cc2c17e57 [class*="gv-sol-"] .subtitle-customize { color: rgba(255, 255, 255, .88) !important; }

/* Footer on tablets: the template's columns are too narrow below 1200px, so they are laid out on a grid */
@media (min-width: 768px) and (max-width: 1199px) {
  .custom-footer .thegem-custom-6af0cc4365a48720 { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
  .custom-footer .thegem-custom-6af0cc4365a48720 > .wpb_column { float: none; width: auto !important; max-width: none !important; overflow-wrap: anywhere; }
  .custom-footer .thegem-custom-6af0cc4365b301042 { grid-column: 1 / -1; }
  .custom-footer .thegem-custom-6af0cc43665958887 { display: grid !important; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 14px; }
  .custom-footer .thegem-custom-6af0cc43665958887 > .wpb_column { float: none; width: auto !important; max-width: none !important; }
  .custom-footer .thegem-custom-6af0cc43665958887 .gem-image { display: none; }
}

/* hero on tablets: the middle card stays inside the hero instead of running under the notch */
@media (min-width: 768px) and (max-width: 1199px) {
  .gv-ph-col.thegem-custom-6af0cc1a581066738 .gv-ph { aspect-ratio: 1 / 1 !important; margin-bottom: 110px; }
}

/* legal pages */
#page-title.gv-title-privacy-policy, #page-title.gv-title-terms-and-conditions { --gv-title-img: url(../img/title-about.webp); }
.gv-legal { max-width: 860px; }
.gv-legal h3 { margin: 36px 0 12px; }
.gv-legal ul { margin: 0 0 20px; padding-left: 22px; }
.gv-legal li { font-size: 18px; line-height: 1.65; margin-bottom: 8px; color: var(--gv-text); }
.gv-legal a { color: var(--gv-gold); text-decoration: underline; }

/* footer bottom bar on wide screens: the copyright and the social icons sit the same distance from the bar's ends */
@media (min-width: 1200px) {
  .custom-footer .thegem-custom-6af0cc43665958887 > .wpb_column { flex: 0 0 33.3333%; width: 33.3333%; max-width: 33.3333%; }
  .custom-footer .thegem-custom-6af0cc43666756747 > .vc_column-inner { padding-left: 110px !important; }
  .custom-footer .thegem-custom-6af0cc4366c331534 > .vc_column-inner { padding-right: 110px !important; }
  .custom-footer .thegem-custom-6af0cc4366c331534 .socials { justify-content: flex-end; text-align: right; }
}
@media (min-width: 1200px) { .custom-footer .thegem-custom-6af0cc43666756747 .thegem-heading { text-align: left !important; } }

/* header: the menu pill sits in the exact centre of the page, whatever the logo and button widths */
@media (min-width: 1212px) {
  #site-header .wpb_wrapper.thegem-custom-6af0cc23b0361666 { position: relative; }
  #site-header .wpb_wrapper.thegem-custom-6af0cc23b0361666 > .vc_row.vc_inner { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); width: auto; }
}
/* long page titles stay inside the screen */
#page-title h1 { font-size: min(100px, 9.5vw) !important; }
