/* What WordPress needs on top of the design's own sheets, which stay unchanged:
   the footer logo as an image, the text pages, Gravity Forms in the design's
   form styling, and the phone and tablet layouts the export leaves open. */

html { scroll-padding-top: 120px; }
/* The design's export locks the page to a desktop width; a real site can't. */
html, body { min-width: 0 !important; }
body { background: var(--surface); }
.f-logo { display: block; height: 96px; width: auto; margin-bottom: 22px; }
.vband img { width: 100%; height: 620px; object-fit: cover; display: block; }
.nav-toggle { display: none; }

/* hero buttons: on hover the border takes the text's color */
.jsv-hero .btn--primary { border: 1px solid var(--accent); }
.jsv-hero .btn--primary:hover { background: var(--dark-deep); color: var(--accent); border-color: var(--accent); }
.jsv-hero .btn--primary:hover::after { display: none; }
.jsv-hero .btn--ghost:hover { color: #ffffff; border-color: #ffffff; }
.hero-sub { text-wrap: pretty; }

/* footer: the agency credit reads as a link */
.f-credit a { text-decoration: underline; text-underline-offset: 3px; }

/* text pages: the home hero's ground, eyebrow above the title, intro to the right */
.jsv-banner { background: linear-gradient(180deg, var(--dark-elevated), var(--dark-base) 55%, var(--dark-deep)); padding: 76px 0 80px; }
.jsv-banner__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; }
.jsv-banner--solo .jsv-banner__in { grid-template-columns: minmax(0, 1fr); }
.jsv-banner h1 { font-size: clamp(44px, 4.6vw, 68px); font-variation-settings: 'opsz' 72; color: var(--surface-cream); margin: 22px 0 0; text-wrap: balance; }
.jsv-banner__head > h1:first-child { margin-top: 0; }
.jsv-banner__lede { margin: 0; padding-left: 26px; border-left: 3px solid var(--accent); font-size: 18.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.96); text-wrap: pretty; }

/* text pages: the reading column, with CORE's article styles on this skin's tokens */
.jsv-text { padding: 80px 0 104px; background: var(--surface);
	--vef-text: var(--body-muted); --vef-ink: #102F47; --vef-primary: #102F47; --vef-canvas: #ffffff;
	--vef-accent: #3d6b8f; --vef-accent-dark: #102F47; --vef-on-accent: #ffffff; --vef-mute: var(--surface-antique);
	--vef-line: var(--hairline); --vef-list-tint: var(--accent-tint); --vef-list-ink: #102F47;
	--vef-font: var(--body-face); --vef-gutter: 20px; --vef-button-line: #102F47;
	--vef-radius: 6px; --vef-radius-xs: 6px; --vef-radius-sm: 8px; --vef-radius-md: 12px; }
.jsv-text .vef-prose { max-width: 760px; margin-inline: auto; font-size: 17px; }
.jsv-text .vef-prose :is(h2, h3, h4) { font-family: var(--display-face); font-variation-settings: 'opsz' 72; font-weight: 500; }
.jsv-text-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.vef-prose a.btn, .vef-prose a.btn:hover { text-decoration: none; }
.vef-prose a.btn--primary { color: var(--btn-label); }
.vef-prose a.btn--primary:hover { color: var(--btn-hover-label); }
.btn--line { border: 1px solid #102F47; color: #102F47; background: transparent; }
.vef-prose a.btn--line { color: #102F47; }
.vef-prose a.btn--line:hover, .btn--line:hover { background: #102F47; color: #ffffff; transform: translateY(var(--btn-hover-lift)); }

/* contact form: Gravity Forms drawn as the design's .cform */
.cform-card .gform_wrapper { --gf-field-gap-y: 20px; margin: 0; }
.cform-card .gform_fields { row-gap: 20px; column-gap: 18px; }
.cform-card .gfield_label,
.cform-card .gform-field-label--type-sub,
.cform-card .gform-field-label { font-size: 12.5px !important; font-weight: 700 !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink) !important; margin-bottom: 8px; }
.cform-card .gfield_required { display: none; }
.cform-card .gform_wrapper input[type="text"],
.cform-card .gform_wrapper input[type="tel"],
.cform-card .gform_wrapper input[type="email"] { width: 100%; height: 52px !important; padding: 0 18px 0 42px !important; border-radius: var(--radius-button) !important; border: 1px solid rgba(0, 48, 73, 0.22) !important; background: #ffffff !important; color: #003049 !important; font-family: var(--body-face) !important; font-size: 16px !important; outline: none; box-shadow: none !important; transition: border-color .2s ease, box-shadow .2s ease; }
.cform-card .gform_wrapper textarea { width: 100%; min-height: 120px !important; padding: 14px 18px !important; border-radius: 14px !important; border: 1px solid rgba(0, 48, 73, 0.22) !important; background: #ffffff !important; color: #003049 !important; font-family: var(--body-face) !important; font-size: 16px !important; resize: vertical; box-shadow: none !important; outline: none; }
.cform-card .gform_wrapper input:focus,
.cform-card .gform_wrapper textarea:focus { border-color: var(--accent-2) !important; box-shadow: 0 0 0 3px rgba(102, 155, 188, 0.3) !important; }
.cform-card .jf-ic .ginput_container:not(.ginput_complex),
.cform-card .jf-ic .ginput_complex > span { position: relative; }
.cform-card .jf-ic .ginput_container:not(.ginput_complex)::after,
.cform-card .jf-ic .ginput_complex > span::after { font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 14px; color: rgba(0, 48, 73, 0.45); position: absolute; left: 16px; bottom: 18px; line-height: 16px; pointer-events: none; }
.cform-card .jf-user .ginput_complex > span::after { content: '\f007'; }
.cform-card .jf-phone .ginput_container::after { content: '\f095'; }
.cform-card .jf-mail .ginput_container::after { content: '\f0e0'; }
.cform-card .jf-pin .ginput_container::after { content: '\f3c5'; }
.cform-card .gform_footer { margin: 20px 0 0 !important; padding: 0 !important; display: block; }
.cform-card .gform_footer .lf-submit { display: flex; align-items: center; width: 100%; justify-content: center; gap: 10px; height: 54px; border: 0; cursor: pointer; font-family: var(--body-face); }
.cform-card .cform-note { margin-top: 20px; }

/* tablet */
@media (max-width: 1100px) {
	.sq-nav .rail { gap: 20px; }
	.nav-links { gap: 20px; }
	.f-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 960px) {
	.sq-nav .rail { height: 84px; }
	.nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 12px 28px 20px; flex-direction: column; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--hairline); box-shadow: 0 14px 24px rgba(16, 47, 71, 0.12); }
	.nav-links.is-open { display: flex; }
	.nav-links a { padding: 10px 0; }
	.sq-nav .rail { position: relative; }
	.nav-phone { margin-left: auto; }
	.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--hairline); border-radius: var(--radius-button); background: #ffffff; color: var(--ink); font-size: 17px; cursor: pointer; }
	.csplit-grid { grid-template-columns: 1fr; }
	.jsv-banner__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* phone */
@media (max-width: 760px) {
	html { scroll-padding-top: 90px; }
	.rail { width: calc(100% - 40px); }
	[data-skin="jiffy-services"] { --eyebrow-size: 14px; --h1-size: 46px; --h2-size: 34px; }
	[data-skin="jiffy-services"] .wordmark img { height: 48px; }
	.sq-nav .rail { gap: 10px; height: 72px; }
	.sq-nav .btn--primary { display: none; }
	.nav-phone span { display: none; }
	.nav-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--hairline); border-radius: var(--radius-button); }
	.nav-toggle { margin-left: 0; }
	.jsv-hero { height: auto; padding: 48px 0 56px; }
	.hero-inner { height: auto; }
	.eyebrow--pill { letter-spacing: 0.12em; white-space: normal; }
	.hero-ctas { flex-direction: column; align-items: stretch; }
	.hero-ctas .btn { justify-content: center; text-align: center; }
	.jsv-since { display: flex; align-items: flex-start; font-size: 12.5px; }
	.svc, .trust, .best, .gal, .csplit { padding: 64px 0 72px; }
	.quote { padding: 72px 0 80px; }
	.trust-tag { left: 12px; bottom: 16px; padding: 12px 18px; }
	.trust-tag b { font-size: 24px; }
	.vband video, .vband img { height: 300px; }
	.vband-cap { padding: 80px 0 24px; }
	.best-row { gap: 16px; }
	.gal-grid { grid-auto-rows: 150px; gap: 12px; }
	.cform-card { padding: 28px 22px 26px; }
	.lic-row { flex-wrap: wrap; gap: 4px 18px; }
	.f-grid { grid-template-columns: 1fr; gap: 36px; }
	.f-bottom .rail { flex-direction: column; gap: 10px; text-align: center; }
	.csplit-rail, .cform-card { min-width: 0; }
	.f-logo { height: 72px; }
	.jsv-banner { padding: 52px 0 56px; }
	.jsv-banner h1 { font-size: 42px; }
	.jsv-banner__lede { padding-left: 18px; font-size: 17px; }
	.jsv-text { padding: 56px 0 72px; }
}

/* the phone mask's sample number is not in the design */
.cform-card .gform_wrapper .jf-phone input::placeholder { color: transparent !important; opacity: 0 !important; }
.lic-row span { white-space: nowrap; }

/* Orbital paints its own button; the design's wins */
.cform-card .gform_wrapper .gform_footer button.lf-submit { width: 100% !important; height: 54px !important; background: var(--btn-fill) !important; color: var(--btn-label) !important; border: 0 !important; border-radius: var(--radius-button) !important; font-size: 15px !important; font-weight: 600 !important; box-shadow: none !important; transition: transform .25s ease, background .25s ease, color .25s ease; }
.cform-card .gform_wrapper .gform_footer button.lf-submit:hover { background: var(--btn-hover-fill) !important; color: var(--btn-hover-label) !important; transform: translateY(var(--btn-hover-lift)); }

.cform-card .jf-user .ginput_complex > span::after { left: 23px; }
.cform-card .gform_wrapper .gform_footer button.lf-submit i { font-family: 'Font Awesome 6 Free' !important; font-weight: 900 !important; font-style: normal; }

/* Google rating and reviews band, from CORE, on this skin */
.vef-stars { display: inline-flex; gap: 2px; color: var(--star-gold); }
.vef-stars svg { width: 18px; height: 18px; }
.vef-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font-size: 15px; color: var(--body-muted); text-decoration: none; }
.vef-rating strong { color: var(--ink); font-size: 17px; font-weight: 700; }
a.vef-rating:not(.vef-rating--box) span:not(.vef-stars) { text-decoration: underline; text-underline-offset: 3px; }
.vef-rating__g { width: 20px; height: 20px; flex: none; }
.vef-rating.vef-rating--box { display: inline-flex; align-self: flex-start; margin: -8px 0 24px; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 100px; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.88); font-size: 14px; transition: border-color .25s ease, color .25s ease; }
.vef-rating.vef-rating--box strong { color: #ffffff; font-size: 16px; }
a.vef-rating--box:hover { border-color: #ffffff; color: #ffffff; }
.vef-reviews { padding: 104px 0 110px; background: var(--surface); }
.vef-reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: 44px; }
.vef-reviews__head .shead h2 { margin-bottom: 16px; }
.vef-reviews__widget .ti-widget .ti-reviews-container-wrapper { margin-left: -8px !important; margin-right: -8px !important; }
.vef-reviews .vef-reviews__widget .ti-widget[data-layout-id] .ti-review-item > .ti-inner { background-color: #c1b99926 !important; border-color: var(--accent-soft) !important; border-radius: var(--radius-card) !important; }
.vef-reviews__widget .ti-widget, .vef-reviews__widget .ti-widget * { font-family: var(--body-face) !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
	.vef-reviews { padding: 64px 0 72px; }
	.vef-reviews__head .btn--line { width: 100%; justify-content: center; }
	.vef-rating.vef-rating--box { gap: 6px 8px; padding: 8px 14px; font-size: 13px; margin: -6px 0 20px; }
	.vef-rating--box .vef-stars svg { width: 14px; height: 14px; }
	.vef-rating--box .vef-rating__g { width: 17px; height: 17px; }
	.vef-rating.vef-rating--box strong { font-size: 15px; }
}

/* the rating box needs the room back: the hero's content keeps its margins */
@media (min-width: 761px) { .jsv-hero { height: 730px; } }

/* below the desktop layout the hero is one column, with its one photo in the
   flow right before the buttons: hero-inner steps aside so the photo and the
   copy can be ordered together */
@media (max-width: 1100px) {
	.jsv-hero { display: flex; flex-direction: column; height: auto; padding: 56px 56px 64px; }
	.jsv-hero .hero-inner { display: contents; }
	.jsv-hero .eyebrow--pill { align-self: flex-start; }
	.jsv-hero-photo { display: block; order: 5; position: relative; top: auto; right: auto; width: 100%; max-width: 560px; height: auto; aspect-ratio: 4 / 5; margin-top: 28px; }
	.jsv-hero-photo .trust-tag { left: 14px; bottom: 16px; }
	.jsv-hero .hero-ctas { order: 6; margin-top: 28px; }
	.jsv-hero .jsv-since { order: 7; }
}
@media (max-width: 760px) {
	.jsv-hero { height: auto; padding: 44px 20px 52px; }
	.jsv-hero-photo .trust-tag { padding: 12px 18px; }
	.jsv-hero-photo .trust-tag b { font-size: 24px; }
}

/* sticky call bar on phones, from CORE */
.vef-callbar { display: none; }
@media (max-width: 760px) {
	.vef-callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--dark-deep); box-shadow: 0 -6px 18px rgba(7, 23, 36, 0.22); }
	.vef-callbar__button { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; font-family: var(--body-face); font-size: 16px; font-weight: 700; text-decoration: none; }
	.vef-callbar__button--call { background: var(--dark-base); color: #ffffff; }
	.vef-callbar__button--call i { color: var(--accent); }
	.vef-callbar__button--go { background: var(--accent); color: var(--btn-label); }
	body:has(.vef-callbar) { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* the band's reserved height holds until the video loads */
.vband video { background: var(--dark-deep); }

/* the hero fades in on its own, not waiting on a script: it is the first thing seen */
@media (prefers-reduced-motion: no-preference) {
	@keyframes jsv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
	.jsv-hero-photo, .jsv-hero .hero-inner { animation: jsv-rise .8s var(--reveal-ease) both; }
}

/* footer small print reads on the dark ground (AA) */
.f-blurb, .f-credit, .lic-note, .f-copy, .f-legal a { color: rgba(255, 255, 255, 0.66); }
